mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
fix error when no tvshows added yet
This commit is contained in:
parent
1b34ce743a
commit
39b3fd9523
1 changed files with 5 additions and 2 deletions
|
@ -438,8 +438,11 @@ class LibrarySync():
|
|||
|
||||
episodeData = ReadEmbyDB().getEpisodes(tvshow,True)
|
||||
allKodiTVShows = ReadKodiDB().getKodiTvShows(False)
|
||||
if allKodiTVShows != None:
|
||||
kodishow = allKodiTVShows.get(tvshow,None)
|
||||
kodiEpisodes = ReadKodiDB().getKodiEpisodes(kodishow["tvshowid"],True,True)
|
||||
else:
|
||||
kodiEpisodes = None
|
||||
|
||||
if episodeData != None:
|
||||
|
||||
|
|
Loading…
Reference in a new issue