Merge pull request #771 from croneter/fix-playlist-sync
Fix 'NoneType' object has no attribute 'kodi_path'
This commit is contained in:
commit
b5b9dd51a5
1 changed files with 2 additions and 0 deletions
|
@ -202,6 +202,8 @@ def _full_sync():
|
|||
return False
|
||||
playlist = db.get_playlist(plex_id=plex_id)
|
||||
LOG.debug('Removing outdated Plex playlist from Kodi: %s', playlist)
|
||||
if playlist is None:
|
||||
continue
|
||||
try:
|
||||
kodi_pl.delete(playlist)
|
||||
except PlaylistError:
|
||||
|
|
Loading…
Reference in a new issue