Change values to int instead of "Checked" in users and libraries table

* get_users_table: allow_guest, do_notify, keep_history
* get_libraries_table: do_notify, do_notify_created, keep_history
This commit is contained in:
JonnyWong16 2022-04-12 12:43:12 -07:00
parent b0950abdd9
commit d4002b2e2b
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
5 changed files with 15 additions and 15 deletions

View file

@ -495,13 +495,13 @@ class WebInterface(object):
[{"child_count": 3745,
"content_rating": "TV-MA",
"count": 62,
"do_notify": "Checked",
"do_notify_created": "Checked",
"do_notify": 1,
"do_notify_created": 1,
"duration": 1578037,
"guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en",
"histroy_row_id": 1128,
"is_active": 1,
"keep_history": "Checked",
"keep_history": 1,
"labels": [],
"last_accessed": 1462693216,
"last_played": "Game of Thrones - The Red Woman",
@ -1264,8 +1264,8 @@ class WebInterface(object):
"recordsTotal": 10,
"recordsFiltered": 10,
"data":
[{"allow_guest": "Checked",
"do_notify": "Checked",
[{"allow_guest": 1,
"do_notify": 1,
"duration": 2998290,
"friendly_name": "Jon Snow",
"username": "LordCommanderSnow",
@ -1275,7 +1275,7 @@ class WebInterface(object):
"history_row_id": 1121,
"ip_address": "xxx.xxx.xxx.xxx",
"is_active": 1,
"keep_history": "Checked",
"keep_history": 1,
"last_played": "Game of Thrones - The Red Woman",
"last_seen": 1462591869,
"live": 0,