Fix migration not working
This commit is contained in:
parent
ffb0496e13
commit
1f144d693c
1 changed files with 2 additions and 2 deletions
|
@ -15,12 +15,12 @@ def check_migration():
|
||||||
settings('last_migrated_PKC_version', value=v.ADDON_VERSION)
|
settings('last_migrated_PKC_version', value=v.ADDON_VERSION)
|
||||||
return
|
return
|
||||||
|
|
||||||
if not compare_version(v.ADDON_VERSION, '1.8.2'):
|
if not compare_version(last_migration, '1.8.2'):
|
||||||
log.info('Migrating to version 1.8.1')
|
log.info('Migrating to version 1.8.1')
|
||||||
# Set the new PKC theMovieDB key
|
# Set the new PKC theMovieDB key
|
||||||
settings('themoviedbAPIKey', value='19c90103adb9e98f2172c6a6a3d85dc4')
|
settings('themoviedbAPIKey', value='19c90103adb9e98f2172c6a6a3d85dc4')
|
||||||
|
|
||||||
if not compare_version(v.ADDON_VERSION, '2.0.25'):
|
if not compare_version(last_migration, '2.0.25'):
|
||||||
log.info('Migrating to version 2.0.24')
|
log.info('Migrating to version 2.0.24')
|
||||||
# Need to re-connect with PMS to pick up on plex.direct URIs
|
# Need to re-connect with PMS to pick up on plex.direct URIs
|
||||||
settings('ipaddress', value='')
|
settings('ipaddress', value='')
|
||||||
|
|
Loading…
Reference in a new issue