mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Define tvdb for uniqueId
This commit is contained in:
parent
3ea7b95010
commit
1051d415a5
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue