Delete Plex video node files when migrating to PKC version 2.8.2
This commit is contained in:
parent
1c245683ad
commit
0bf7ada6e3
1 changed files with 6 additions and 0 deletions
|
@ -36,4 +36,10 @@ def check_migration():
|
||||||
from .library_sync.sections import delete_files
|
from .library_sync.sections import delete_files
|
||||||
delete_files()
|
delete_files()
|
||||||
|
|
||||||
|
if not utils.compare_version(last_migration, '2.8.3'):
|
||||||
|
LOG.info('Migrating to version 2.8.2')
|
||||||
|
from .library_sync import sections
|
||||||
|
sections.clear_window_vars()
|
||||||
|
sections.delete_videonode_files()
|
||||||
|
|
||||||
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