From 1051d415a52afe6b4b300ca86d1604815d03d3fe Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Mon, 9 Jul 2018 17:36:28 -0500 Subject: [PATCH] Define tvdb for uniqueId --- resources/lib/objects/tvshows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/objects/tvshows.py b/resources/lib/objects/tvshows.py index 496c3569..ee4062e1 100644 --- a/resources/lib/objects/tvshows.py +++ b/resources/lib/objects/tvshows.py @@ -351,7 +351,7 @@ class TVShows(Items): # update uniqueid 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 self.kodi_db.update_tvshow(title, plot, uniqueid, premieredate, genre, title, @@ -370,7 +370,7 @@ class TVShows(Items): # add 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 toppathid = self.kodi_db.add_path(toplevelpath)