From 7d8802467f7598e6b42faea517bca28d2524de8f Mon Sep 17 00:00:00 2001 From: croneter Date: Thu, 1 Aug 2019 14:22:44 +0200 Subject: [PATCH] Ensure playlists are freshly synched on PKC version bump --- resources/lib/migration.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/lib/migration.py b/resources/lib/migration.py index d88ca2d4..14600572 100644 --- a/resources/lib/migration.py +++ b/resources/lib/migration.py @@ -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)