Define tvdb for uniqueId

This commit is contained in:
angelblue05 2018-07-09 17:36:28 -05:00
parent 3ea7b95010
commit 1051d415a5

View file

@ -351,7 +351,7 @@ class TVShows(Items):
# update uniqueid # update uniqueid
uniqueid = self.kodi_db.get_uniqueid("tvshow", showid) uniqueid = self.kodi_db.get_uniqueid("tvshow", showid)
self.kodi_db.update_uniqueid(showid, "tvshow", tvdb, "unknown", uniqueid) self.kodi_db.update_uniqueid(showid, "tvshow", tvdb, "tvdb", uniqueid)
# Update the tvshow entry # Update the tvshow entry
self.kodi_db.update_tvshow(title, plot, uniqueid, premieredate, genre, title, self.kodi_db.update_tvshow(title, plot, uniqueid, premieredate, genre, title,
@ -370,7 +370,7 @@ class TVShows(Items):
# add uniqueid # add uniqueid
uniqueid = self.kodi_db.create_entry_uniqueid() uniqueid = self.kodi_db.create_entry_uniqueid()
self.kodi_db.add_uniqueid(uniqueid, showid, "tvshow", tvdb, "unknown") self.kodi_db.add_uniqueid(uniqueid, showid, "tvshow", tvdb, "tvdb")
# Add top path # Add top path
toppathid = self.kodi_db.add_path(toplevelpath) toppathid = self.kodi_db.add_path(toplevelpath)