mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-07-20 13:28:59 +00:00
Error handling for delete, but still not working :(
This commit is contained in:
parent
4c5debaa1e
commit
bb3f52ea51
2 changed files with 17 additions and 14 deletions
|
@ -495,9 +495,11 @@ class LibrarySync():
|
|||
|
||||
#add all kodi episodes to a list with episodes for use later on to delete episodes
|
||||
#the mediabrowser ID is set as uniqueID in the NFO... for some reason this has key 'unknown' in the json response
|
||||
for episode in ReadKodiDB().getKodiEpisodes(tvshow,False,False):
|
||||
dict = {'mbid': str(episode["uniqueid"]["unknown"]),'kodiid': str(episode["episodeid"])}
|
||||
allKodiEpisodeIds.append(dict)
|
||||
show = ReadKodiDB().getKodiEpisodes(tvshow,False,False)
|
||||
if show != None:
|
||||
for episode in show:
|
||||
dict = {'mbid': str(episode["uniqueid"]["unknown"]),'kodiid': str(episode["episodeid"])}
|
||||
allKodiEpisodeIds.append(dict)
|
||||
|
||||
showCurrent += 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue