Merge pull request #955 from croneter/fix-playlists
Correctly detect whether we already synched a Kodi playlist
This commit is contained in:
commit
1dc458cca0
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