Ensure we resync all Plex playlists to Kodi when updating PKC
This commit is contained in:
parent
25f972f30f
commit
f573a29d37
1 changed files with 6 additions and 0 deletions
|
@ -84,4 +84,10 @@ def check_migration():
|
|||
from . import library_sync
|
||||
library_sync.force_full_sync()
|
||||
|
||||
if not utils.compare_version(last_migration, '2.11.3'):
|
||||
LOG.info('Migrating to version 2.11.2')
|
||||
# Re-sync all playlists to Kodi
|
||||
from .playlists import remove_synced_playlists
|
||||
remove_synced_playlists()
|
||||
|
||||
utils.settings('last_migrated_PKC_version', value=v.ADDON_VERSION)
|
||||
|
|
Loading…
Reference in a new issue