Force a re-scan of every single Plex item - we might have lost some recently added
This commit is contained in:
parent
ddaa26c385
commit
e26cf09fef
1 changed files with 8 additions and 0 deletions
|
@ -71,4 +71,12 @@ def check_migration():
|
||||||
current_playback_type = 3
|
current_playback_type = 3
|
||||||
utils.settings('playType', value=str(current_playback_type))
|
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)
|
utils.settings('last_migrated_PKC_version', value=v.ADDON_VERSION)
|
||||||
|
|
Loading…
Reference in a new issue