Further Fix TheTVDB ID for TV shows

- Partially fixes #277
This commit is contained in:
tomkat83 2017-05-01 09:57:24 +02:00
parent bc3a81b12a
commit b715b16f05

View file

@ -685,7 +685,7 @@ class TVShows(Items):
showid, showid,
v.KODI_TYPE_SHOW, v.KODI_TYPE_SHOW,
tvdb, tvdb,
"tvdb") "unknown")
# Create the tvshow entry # Create the tvshow entry
query = ''' query = '''
INSERT INTO tvshow( INSERT INTO tvshow(
@ -694,8 +694,8 @@ class TVShows(Items):
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
''' '''
kodicursor.execute(query, (showid, title, plot, rating_id, kodicursor.execute(query, (showid, title, plot, rating_id,
premieredate, genre, title, tvdb, premieredate, genre, title,
mpaa, studio, sorttitle)) uniqueid, mpaa, studio, sorttitle))
else: else:
# Create the tvshow entry # Create the tvshow entry
query = ''' query = '''