diff --git a/data/interfaces/default/js/tables/libraries.js b/data/interfaces/default/js/tables/libraries.js index a7e703a2..b3e702a0 100644 --- a/data/interfaces/default/js/tables/libraries.js +++ b/data/interfaces/default/js/tables/libraries.js @@ -33,7 +33,7 @@ libraries_list_table_options = { $(td).html('
' + ' ' + '   ' + - ' ' + + ' ' + '
'); }, "width": "7%", diff --git a/data/interfaces/default/js/tables/users.js b/data/interfaces/default/js/tables/users.js index 1b0793c8..524ee09a 100644 --- a/data/interfaces/default/js/tables/users.js +++ b/data/interfaces/default/js/tables/users.js @@ -50,8 +50,8 @@ users_list_table_options = { $(td).html('
' + ' ' + '   ' + - ' ' + - ' ' + + ' ' + + ' ' + '
'); }, "width": "7%", diff --git a/plexpy/libraries.py b/plexpy/libraries.py index 011f8201..0b0f16bb 100644 --- a/plexpy/libraries.py +++ b/plexpy/libraries.py @@ -432,9 +432,9 @@ class Libraries(object): 'live': item['live'], 'originally_available_at': item['originally_available_at'], 'guid': item['guid'], - 'do_notify': helpers.checked(item['do_notify']), - 'do_notify_created': helpers.checked(item['do_notify_created']), - 'keep_history': helpers.checked(item['keep_history']), + 'do_notify': item['do_notify'], + 'do_notify_created': item['do_notify_created'], + 'keep_history': item['keep_history'], 'is_active': item['is_active'] } diff --git a/plexpy/users.py b/plexpy/users.py index b7f467e2..a0095573 100644 --- a/plexpy/users.py +++ b/plexpy/users.py @@ -234,9 +234,9 @@ class Users(object): 'originally_available_at': item['originally_available_at'], 'guid': item['guid'], 'transcode_decision': item['transcode_decision'], - 'do_notify': helpers.checked(item['do_notify']), - 'keep_history': helpers.checked(item['keep_history']), - 'allow_guest': helpers.checked(item['allow_guest']), + 'do_notify': item['do_notify'], + 'keep_history': item['keep_history'], + 'allow_guest': item['allow_guest'], 'is_active': item['is_active'] } diff --git a/plexpy/webserve.py b/plexpy/webserve.py index ecf42b47..7e386af4 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -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,