diff --git a/resources/lib/playlists/__init__.py b/resources/lib/playlists/__init__.py index 8d74bcc2..a8b51136 100644 --- a/resources/lib/playlists/__init__.py +++ b/resources/lib/playlists/__init__.py @@ -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: