Ensure playlists are freshly synched on PKC version bump
This commit is contained in:
parent
26fa1ff909
commit
7d8802467f
1 changed files with 5 additions and 0 deletions
|
@ -57,4 +57,9 @@ def check_migration():
|
||||||
sections.clear_window_vars()
|
sections.clear_window_vars()
|
||||||
sections.delete_videonode_files()
|
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)
|
utils.settings('last_migrated_PKC_version', value=v.ADDON_VERSION)
|
||||||
|
|
Loading…
Reference in a new issue