Force a re-scan of every single Plex item - we might have lost some recently added

This commit is contained in:
croneter 2019-09-10 17:46:33 +02:00
parent ddaa26c385
commit e26cf09fef

View file

@ -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)