Fix PKC recreating playlists too often

This commit is contained in:
croneter 2018-12-23 13:01:50 +01:00
parent db6a7ba9b4
commit e9f49be7f3

View file

@ -96,6 +96,7 @@ def websocket(plex_id, status):
* 9: 'deleted'
"""
create = False
plex_id = int(plex_id)
with app.APP.lock_playlists:
playlist = db.get_playlist(plex_id=plex_id)
if plex_id in IGNORE_PLEX_PLAYLIST_CHANGE: