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