Correctly detect whether we already synched a Kodi playlist
This commit is contained in:
parent
bf19a66394
commit
34e84cd037
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue