diff --git a/resources/lib/migration.py b/resources/lib/migration.py index 3c0adb42..7f4d38ef 100644 --- a/resources/lib/migration.py +++ b/resources/lib/migration.py @@ -71,4 +71,12 @@ def check_migration(): current_playback_type = 3 utils.settings('playType', value=str(current_playback_type)) + if not utils.compare_version(last_migration, '2.9.8'): + LOG.info('Migrating to version 2.9.7') + # Force-scan every single item in the library - seems like we could + # loose some recently added items otherwise + # Caused by 65a921c3cc2068c4a34990d07289e2958f515156 + from . import library_sync + library_sync.force_full_sync() + utils.settings('last_migrated_PKC_version', value=v.ADDON_VERSION)