Force a full sync on switching Plex user

This commit is contained in:
croneter 2018-12-09 14:36:13 +01:00
parent 27d34167e9
commit 1cc8cb7ad3

View file

@ -210,6 +210,7 @@ class Service():
utils.delete_nodes() utils.delete_nodes()
app.ACCOUNT.set_unauthenticated() app.ACCOUNT.set_unauthenticated()
# Force full sync after login # Force full sync after login
utils.settings('lastfullsync', value='0')
app.SYNC.run_lib_scan = 'full' app.SYNC.run_lib_scan = 'full'
return True return True