mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix series pooling
In case there's a duplicate in the Kodi database, but it's not an emby entry.
This commit is contained in:
parent
74a869dff8
commit
3d6542bda4
1 changed files with 1 additions and 1 deletions
|
@ -1090,7 +1090,7 @@ class TVShows(Items):
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
emby_other = emby_db.getItem_byKodiId(temp_showid, "tvshow")
|
emby_other = emby_db.getItem_byKodiId(temp_showid, "tvshow")
|
||||||
if viewid == emby_other[2]:
|
if emby_other and viewid == emby_other[2]:
|
||||||
log.info("Applying series pooling for %s", title)
|
log.info("Applying series pooling for %s", title)
|
||||||
emby_other_item = emby_db.getItem_byId(emby_other[0])
|
emby_other_item = emby_db.getItem_byId(emby_other[0])
|
||||||
showid = emby_other_item[0]
|
showid = emby_other_item[0]
|
||||||
|
|
Loading…
Reference in a new issue