mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-01-24 00:46:11 +00:00
Fix series pooling
If there's the same series in different libraries
This commit is contained in:
parent
d7245c810c
commit
0e50f13055
1 changed files with 2 additions and 3 deletions
|
@ -1058,14 +1058,13 @@ class TVShows(Items):
|
|||
query = "SELECT idShow FROM tvshow WHERE C12 = ?"
|
||||
kodicursor.execute(query, (tvdb,))
|
||||
try:
|
||||
showid = kodicursor.fetchone()[0]
|
||||
temp_showid = kodicursor.fetchone()[0]
|
||||
except TypeError:
|
||||
pass
|
||||
else:
|
||||
emby_other = emby_db.getItem_byKodiId(showid, "tvshow")
|
||||
emby_other = emby_db.getItem_byKodiId(temp_showid, "tvshow")
|
||||
if viewid == emby_other[2]:
|
||||
log.info("Applying series pooling for %s", title)
|
||||
|
||||
emby_other_item = emby_db.getItem_byId(emby_other[0])
|
||||
showid = emby_other_item[0]
|
||||
pathid = emby_other_item[2]
|
||||
|
|
Loading…
Reference in a new issue