Lots of changes which will break things!
You can no longer use your PlexWatch db with PlexPy, import tool is included though. Removed the need for separate PlexWatch database. Created PlexWatch import tool (settings -> Monitoring) Lots of re-writes to most pages.
This commit is contained in:
@@ -23,7 +23,6 @@ import plexpy
|
||||
def refresh_users():
|
||||
logger.info("Requesting users list refresh...")
|
||||
result = PlexTV().get_full_users_list()
|
||||
pw_db = db.DBConnection()
|
||||
monitor_db = monitor.MonitorDatabase()
|
||||
|
||||
if len(result) > 0:
|
||||
@@ -38,7 +37,6 @@ def refresh_users():
|
||||
"is_restricted": item['is_restricted']
|
||||
}
|
||||
|
||||
pw_db.upsert('plexpy_users', new_value_dict, control_value_dict)
|
||||
monitor_db.upsert('users', new_value_dict, control_value_dict)
|
||||
|
||||
logger.info("Users list refreshed.")
|
||||
|
Reference in New Issue
Block a user