Fix KeyError on playlist full sync
This commit is contained in:
parent
c0d78bd273
commit
b8286c9b14
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ def _full_sync():
|
||||||
except PlaylistError:
|
except PlaylistError:
|
||||||
LOG.info('Skipping Kodi playlist %s', path)
|
LOG.info('Skipping Kodi playlist %s', path)
|
||||||
for kodi_path in old_kodi_paths:
|
for kodi_path in old_kodi_paths:
|
||||||
playlist = db.get_playlist(kodi_path=kodi_path)
|
playlist = db.get_playlist(path=kodi_path)
|
||||||
try:
|
try:
|
||||||
plex_pl.delete(playlist)
|
plex_pl.delete(playlist)
|
||||||
except PlaylistError:
|
except PlaylistError:
|
||||||
|
|
Loading…
Reference in a new issue