Correctly detect whether we already synched a Kodi playlist

This commit is contained in:
croneter 2019-08-02 11:26:22 +02:00
parent bf19a66394
commit 34e84cd037

View file

@ -30,8 +30,8 @@ def create(playlist):
if not plex_ids: if not plex_ids:
LOG.warning('No Plex ids found for playlist %s', playlist) LOG.warning('No Plex ids found for playlist %s', playlist)
raise PlaylistError raise PlaylistError
IGNORE_PLEX_PLAYLIST_CHANGE.append(playlist.plex_id)
pms.add_items(playlist, plex_ids) pms.add_items(playlist, plex_ids)
IGNORE_PLEX_PLAYLIST_CHANGE.append(playlist.plex_id)
db.update_playlist(playlist) db.update_playlist(playlist)
LOG.debug('Done creating Plex playlist %s', playlist) LOG.debug('Done creating Plex playlist %s', playlist)