Ensure playlists are freshly synched on PKC version bump

This commit is contained in:
croneter 2019-08-01 14:22:44 +02:00
parent 26fa1ff909
commit 7d8802467f

View file

@ -57,4 +57,9 @@ def check_migration():
sections.clear_window_vars()
sections.delete_videonode_files()
if not utils.compare_version(last_migration, '2.9.3'):
LOG.info('Migrating to version 2.9.2')
# Re-sync all playlists to Kodi
utils.wipe_synched_playlists()
utils.settings('last_migrated_PKC_version', value=v.ADDON_VERSION)