parent
1156a4efa1
commit
1c25441e99
1 changed files with 2 additions and 0 deletions
|
@ -248,6 +248,8 @@ def _full_sync():
|
||||||
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(path=kodi_path)
|
playlist = db.get_playlist(path=kodi_path)
|
||||||
|
if not playlist:
|
||||||
|
continue
|
||||||
try:
|
try:
|
||||||
plex_pl.delete(playlist)
|
plex_pl.delete(playlist)
|
||||||
except PlaylistError:
|
except PlaylistError:
|
||||||
|
|
Loading…
Add table
Reference in a new issue