mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-19 06:36:12 +00:00
Use the Emby ID as the key to look up Episodes
This commit is contained in:
parent
2112ab951b
commit
11218b7891
2 changed files with 4 additions and 10 deletions
|
@ -189,8 +189,7 @@ class ReadKodiDB():
|
|||
if(episodes != None):
|
||||
episodeMap = {}
|
||||
for KodiItem in episodes:
|
||||
key = str(KodiItem["season"]) + "-" + str(KodiItem["episode"])
|
||||
episodeMap[key] = KodiItem
|
||||
episodeMap[KodiItem["uniqueid"]["unknown"]] = KodiItem
|
||||
return episodeMap
|
||||
else:
|
||||
return episodes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue