Fix AttributeError when a playlist disappeared

- Should fix #568
This commit is contained in:
croneter 2018-12-11 14:57:43 +01:00
parent 1156a4efa1
commit 1c25441e99

View file

@ -248,6 +248,8 @@ def _full_sync():
LOG.info('Skipping Kodi playlist %s', path)
for kodi_path in old_kodi_paths:
playlist = db.get_playlist(path=kodi_path)
if not playlist:
continue
try:
plex_pl.delete(playlist)
except PlaylistError: