mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Cleanup image caching and logs
* Prettier confirm modal dialogues * Setting to disable image caching
This commit is contained in:
parent
baf44a97b4
commit
e79f6d5617
10 changed files with 505 additions and 352 deletions
549
API.md
549
API.md
|
@ -70,6 +70,10 @@ Returns:
|
|||
```
|
||||
|
||||
|
||||
### delete_cache
|
||||
Delete and recreate the cache directory.
|
||||
|
||||
|
||||
### delete_datatable_media_info_cache
|
||||
Delete the media info table cache for a specific library.
|
||||
|
||||
|
@ -85,6 +89,10 @@ Returns:
|
|||
```
|
||||
|
||||
|
||||
### delete_image_cache
|
||||
Delete and recreate the image cache directory.
|
||||
|
||||
|
||||
### delete_library
|
||||
Delete a library section from PlexPy. Also erases all history for the library.
|
||||
|
||||
|
@ -138,6 +146,10 @@ Return the api docs as a dict where commands are keys, docstring are value.
|
|||
Return the api docs formatted with markdown.
|
||||
|
||||
|
||||
### download_log
|
||||
Download the PlexPy log file.
|
||||
|
||||
|
||||
### edit_library
|
||||
Update a library section on PlexPy.
|
||||
|
||||
|
@ -189,60 +201,60 @@ Returns:
|
|||
json:
|
||||
{"stream_count": 3,
|
||||
"session":
|
||||
[{"art": "/library/metadata/1219/art/1462175063",
|
||||
"aspect_ratio": "1.78",
|
||||
"audio_channels": "6",
|
||||
"audio_codec": "ac3",
|
||||
"audio_decision": "transcode",
|
||||
"bif_thumb": "/library/parts/274169/indexes/sd/",
|
||||
"bitrate": "10617",
|
||||
"container": "mkv",
|
||||
"content_rating": "TV-MA",
|
||||
"duration": "2998290",
|
||||
"friendly_name": "Mother of Dragons",
|
||||
"grandparent_rating_key": "1219",
|
||||
"grandparent_thumb": "/library/metadata/1219/thumb/1462175063",
|
||||
"grandparent_title": "Game of Thrones",
|
||||
"height": "1078",
|
||||
"indexes": 1,
|
||||
"ip_address": "xxx.xxx.xxx.xxx",
|
||||
"labels": [],
|
||||
"machine_id": "83f189w617623ccs6a1lqpby",
|
||||
"media_index": "1",
|
||||
"media_type": "episode",
|
||||
"parent_media_index": "6",
|
||||
"parent_rating_key": "153036",
|
||||
"parent_thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
"parent_title": "",
|
||||
"platform": "Chrome",
|
||||
"player": "Plex Web (Chrome)",
|
||||
"progress_percent": "0",
|
||||
"rating_key": "153037",
|
||||
"section_id": "2",
|
||||
"session_key": "291",
|
||||
"state": "playing",
|
||||
"throttled": "1",
|
||||
"thumb": "/library/metadata/153037/thumb/1462175060",
|
||||
"title": "The Red Woman",
|
||||
"transcode_audio_channels": "2",
|
||||
"transcode_audio_codec": "aac",
|
||||
"transcode_container": "mkv",
|
||||
"transcode_height": "1078",
|
||||
"transcode_key": "tiv5p524wcupe8nxegc26s9k9",
|
||||
"transcode_progress": 2,
|
||||
"transcode_protocol": "http",
|
||||
"transcode_speed": "0.0",
|
||||
"transcode_video_codec": "h264",
|
||||
"transcode_width": "1920",
|
||||
"user": "DanyKhaleesi69",
|
||||
"user_id": 8008135,
|
||||
"user_thumb": "https://plex.tv/users/568gwwoib5t98a3a/avatar",
|
||||
"video_codec": "h264",
|
||||
"video_decision": "copy",
|
||||
"video_framerate": "24p",
|
||||
"video_resolution": "1080",
|
||||
"view_offset": "",
|
||||
"width": "1920",
|
||||
[{"art": "/library/metadata/1219/art/1462175063",
|
||||
"aspect_ratio": "1.78",
|
||||
"audio_channels": "6",
|
||||
"audio_codec": "ac3",
|
||||
"audio_decision": "transcode",
|
||||
"bif_thumb": "/library/parts/274169/indexes/sd/",
|
||||
"bitrate": "10617",
|
||||
"container": "mkv",
|
||||
"content_rating": "TV-MA",
|
||||
"duration": "2998290",
|
||||
"friendly_name": "Mother of Dragons",
|
||||
"grandparent_rating_key": "1219",
|
||||
"grandparent_thumb": "/library/metadata/1219/thumb/1462175063",
|
||||
"grandparent_title": "Game of Thrones",
|
||||
"height": "1078",
|
||||
"indexes": 1,
|
||||
"ip_address": "xxx.xxx.xxx.xxx",
|
||||
"labels": [],
|
||||
"machine_id": "83f189w617623ccs6a1lqpby",
|
||||
"media_index": "1",
|
||||
"media_type": "episode",
|
||||
"parent_media_index": "6",
|
||||
"parent_rating_key": "153036",
|
||||
"parent_thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
"parent_title": "",
|
||||
"platform": "Chrome",
|
||||
"player": "Plex Web (Chrome)",
|
||||
"progress_percent": "0",
|
||||
"rating_key": "153037",
|
||||
"section_id": "2",
|
||||
"session_key": "291",
|
||||
"state": "playing",
|
||||
"throttled": "1",
|
||||
"thumb": "/library/metadata/153037/thumb/1462175060",
|
||||
"title": "The Red Woman",
|
||||
"transcode_audio_channels": "2",
|
||||
"transcode_audio_codec": "aac",
|
||||
"transcode_container": "mkv",
|
||||
"transcode_height": "1078",
|
||||
"transcode_key": "tiv5p524wcupe8nxegc26s9k9",
|
||||
"transcode_progress": 2,
|
||||
"transcode_protocol": "http",
|
||||
"transcode_speed": "0.0",
|
||||
"transcode_video_codec": "h264",
|
||||
"transcode_width": "1920",
|
||||
"user": "DanyKhaleesi69",
|
||||
"user_id": 8008135,
|
||||
"user_thumb": "https://plex.tv/users/568gwwoib5t98a3a/avatar",
|
||||
"video_codec": "h264",
|
||||
"video_decision": "copy",
|
||||
"video_framerate": "24p",
|
||||
"video_resolution": "1080",
|
||||
"view_offset": "",
|
||||
"width": "1920",
|
||||
"year": "2016"
|
||||
},
|
||||
{...},
|
||||
|
@ -381,22 +393,22 @@ Returns:
|
|||
{"stat_id": "top_tv",
|
||||
"stat_type": "total_plays",
|
||||
"rows":
|
||||
[{"content_rating": "TV-MA",
|
||||
"friendly_name": "",
|
||||
"grandparent_thumb": "/library/metadata/1219/thumb/1462175063",
|
||||
"labels": [],
|
||||
"last_play": 1462380698,
|
||||
"media_type": "episode",
|
||||
"platform": "",
|
||||
"platform_type": "",
|
||||
"rating_key": 1219,
|
||||
"row_id": 1116,
|
||||
"section_id": 2,
|
||||
"thumb": "",
|
||||
"title": "Game of Thrones",
|
||||
"total_duration": 213302,
|
||||
"total_plays": 69,
|
||||
"user": "",
|
||||
[{"content_rating": "TV-MA",
|
||||
"friendly_name": "",
|
||||
"grandparent_thumb": "/library/metadata/1219/thumb/1462175063",
|
||||
"labels": [],
|
||||
"last_play": 1462380698,
|
||||
"media_type": "episode",
|
||||
"platform": "",
|
||||
"platform_type": "",
|
||||
"rating_key": 1219,
|
||||
"row_id": 1116,
|
||||
"section_id": 2,
|
||||
"thumb": "",
|
||||
"title": "Game of Thrones",
|
||||
"total_duration": 213302,
|
||||
"total_plays": 69,
|
||||
"user": "",
|
||||
"users_watched": ""
|
||||
},
|
||||
{...},
|
||||
|
@ -443,13 +455,13 @@ Optional parameters:
|
|||
|
||||
Returns:
|
||||
json:
|
||||
[{"art": "/:/resources/show-fanart.jpg",
|
||||
"child_count": "3745",
|
||||
"count": "62",
|
||||
"parent_count": "240",
|
||||
[{"art": "/:/resources/show-fanart.jpg",
|
||||
"child_count": "3745",
|
||||
"count": "62",
|
||||
"parent_count": "240",
|
||||
"section_id": "2",
|
||||
"section_name": "TV Shows",
|
||||
"section_type": "show",
|
||||
"section_name": "TV Shows",
|
||||
"section_type": "show",
|
||||
"thumb": "/:/resources/show.png"
|
||||
},
|
||||
{...},
|
||||
|
@ -479,30 +491,30 @@ Returns:
|
|||
"recordsTotal": 10,
|
||||
"recordsFiltered": 10,
|
||||
"data":
|
||||
[{"child_count": 3745,
|
||||
"content_rating": "TV-MA",
|
||||
"count": 62,
|
||||
"do_notify": "Checked",
|
||||
"do_notify_created": "Checked",
|
||||
"duration": 1578037,
|
||||
"id": 1128,
|
||||
"keep_history": "Checked",
|
||||
"labels": [],
|
||||
"last_accessed": 1462693216,
|
||||
"last_played": "Game of Thrones - The Red Woman",
|
||||
"library_art": "/:/resources/show-fanart.jpg",
|
||||
"library_thumb": "",
|
||||
"media_index": 1,
|
||||
"media_type": "episode",
|
||||
"parent_count": 240,
|
||||
"parent_media_index": 6,
|
||||
"parent_title": "",
|
||||
"plays": 772,
|
||||
"rating_key": 153037,
|
||||
"section_id": 2,
|
||||
"section_name": "TV Shows",
|
||||
"section_type": "Show",
|
||||
"thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
[{"child_count": 3745,
|
||||
"content_rating": "TV-MA",
|
||||
"count": 62,
|
||||
"do_notify": "Checked",
|
||||
"do_notify_created": "Checked",
|
||||
"duration": 1578037,
|
||||
"id": 1128,
|
||||
"keep_history": "Checked",
|
||||
"labels": [],
|
||||
"last_accessed": 1462693216,
|
||||
"last_played": "Game of Thrones - The Red Woman",
|
||||
"library_art": "/:/resources/show-fanart.jpg",
|
||||
"library_thumb": "",
|
||||
"media_index": 1,
|
||||
"media_type": "episode",
|
||||
"parent_count": 240,
|
||||
"parent_media_index": 6,
|
||||
"parent_title": "",
|
||||
"plays": 772,
|
||||
"rating_key": 153037,
|
||||
"section_id": 2,
|
||||
"section_name": "TV Shows",
|
||||
"section_type": "Show",
|
||||
"thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
"year": 2016
|
||||
},
|
||||
{...},
|
||||
|
@ -538,27 +550,27 @@ Returns:
|
|||
"filtered_file_size": 2616760056742,
|
||||
"total_file_size": 2616760056742,
|
||||
"data":
|
||||
[{"added_at": "1403553078",
|
||||
"audio_channels": "",
|
||||
"audio_codec": "",
|
||||
"bitrate": "",
|
||||
"container": "",
|
||||
"file_size": 253660175293,
|
||||
"grandparent_rating_key": "",
|
||||
"last_played": 1462380698,
|
||||
"media_index": "1",
|
||||
"media_type": "show",
|
||||
"parent_media_index": "",
|
||||
"parent_rating_key": "",
|
||||
"play_count": 15,
|
||||
"rating_key": "1219",
|
||||
"section_id": 2,
|
||||
"section_type": "show",
|
||||
"thumb": "/library/metadata/1219/thumb/1436265995",
|
||||
"title": "Game of Thrones",
|
||||
"video_codec": "",
|
||||
"video_framerate": "",
|
||||
"video_resolution": "",
|
||||
[{"added_at": "1403553078",
|
||||
"audio_channels": "",
|
||||
"audio_codec": "",
|
||||
"bitrate": "",
|
||||
"container": "",
|
||||
"file_size": 253660175293,
|
||||
"grandparent_rating_key": "",
|
||||
"last_played": 1462380698,
|
||||
"media_index": "1",
|
||||
"media_type": "show",
|
||||
"parent_media_index": "",
|
||||
"parent_rating_key": "",
|
||||
"play_count": 15,
|
||||
"rating_key": "1219",
|
||||
"section_id": 2,
|
||||
"section_type": "show",
|
||||
"thumb": "/library/metadata/1219/thumb/1436265995",
|
||||
"title": "Game of Thrones",
|
||||
"video_codec": "",
|
||||
"video_framerate": "",
|
||||
"video_resolution": "",
|
||||
"year": "2011"
|
||||
},
|
||||
{...},
|
||||
|
@ -631,51 +643,51 @@ Returns:
|
|||
json:
|
||||
{"metadata":
|
||||
{"actors": [
|
||||
"Kit Harington",
|
||||
"Emilia Clarke",
|
||||
"Isaac Hempstead-Wright",
|
||||
"Maisie Williams",
|
||||
"Liam Cunningham",
|
||||
],
|
||||
"added_at": "1461572396",
|
||||
"art": "/library/metadata/1219/art/1462175063",
|
||||
"content_rating": "TV-MA",
|
||||
"Kit Harington",
|
||||
"Emilia Clarke",
|
||||
"Isaac Hempstead-Wright",
|
||||
"Maisie Williams",
|
||||
"Liam Cunningham",
|
||||
],
|
||||
"added_at": "1461572396",
|
||||
"art": "/library/metadata/1219/art/1462175063",
|
||||
"content_rating": "TV-MA",
|
||||
"directors": [
|
||||
"Jeremy Podeswa"
|
||||
],
|
||||
"duration": "2998290",
|
||||
],
|
||||
"duration": "2998290",
|
||||
"genres": [
|
||||
"Adventure",
|
||||
"Drama",
|
||||
"Adventure",
|
||||
"Drama",
|
||||
"Fantasy"
|
||||
],
|
||||
"grandparent_rating_key": "1219",
|
||||
"grandparent_thumb": "/library/metadata/1219/thumb/1462175063",
|
||||
"grandparent_title": "Game of Thrones",
|
||||
"guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en",
|
||||
"labels": [],
|
||||
"last_viewed_at": "1462165717",
|
||||
"library_name": "TV Shows",
|
||||
"media_index": "1",
|
||||
"media_type": "episode",
|
||||
"originally_available_at": "2016-04-24",
|
||||
"parent_media_index": "6",
|
||||
"parent_rating_key": "153036",
|
||||
"parent_thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
"parent_title": "",
|
||||
"rating": "7.8",
|
||||
"rating_key": "153037",
|
||||
"section_id": "2",
|
||||
"studio": "HBO",
|
||||
"summary": "Jon Snow is dead. Daenerys meets a strong man. Cersei sees her daughter again.",
|
||||
"tagline": "",
|
||||
"thumb": "/library/metadata/153037/thumb/1462175060",
|
||||
"title": "The Red Woman",
|
||||
"updated_at": "1462175060",
|
||||
],
|
||||
"grandparent_rating_key": "1219",
|
||||
"grandparent_thumb": "/library/metadata/1219/thumb/1462175063",
|
||||
"grandparent_title": "Game of Thrones",
|
||||
"guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en",
|
||||
"labels": [],
|
||||
"last_viewed_at": "1462165717",
|
||||
"library_name": "TV Shows",
|
||||
"media_index": "1",
|
||||
"media_type": "episode",
|
||||
"originally_available_at": "2016-04-24",
|
||||
"parent_media_index": "6",
|
||||
"parent_rating_key": "153036",
|
||||
"parent_thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
"parent_title": "",
|
||||
"rating": "7.8",
|
||||
"rating_key": "153037",
|
||||
"section_id": "2",
|
||||
"studio": "HBO",
|
||||
"summary": "Jon Snow is dead. Daenerys meets a strong man. Cersei sees her daughter again.",
|
||||
"tagline": "",
|
||||
"thumb": "/library/metadata/153037/thumb/1462175060",
|
||||
"title": "The Red Woman",
|
||||
"updated_at": "1462175060",
|
||||
"writers": [
|
||||
"David Benioff",
|
||||
"David Benioff",
|
||||
"D. B. Weiss"
|
||||
],
|
||||
],
|
||||
"year": "2016"
|
||||
}
|
||||
}
|
||||
|
@ -720,20 +732,20 @@ Returns:
|
|||
"recordsTotal": 1039,
|
||||
"recordsFiltered": 163,
|
||||
"data":
|
||||
[{"agent_id": 13,
|
||||
"agent_name": "Telegram",
|
||||
"body_text": "Game of Thrones - S06E01 - The Red Woman [Transcode].",
|
||||
"id": 1000,
|
||||
"notify_action": "play",
|
||||
"poster_url": "http://i.imgur.com/ZSqS8Ri.jpg",
|
||||
"rating_key": 153037,
|
||||
"script_args": "[]",
|
||||
"session_key": 147,
|
||||
"subject_text": "PlexPy (Winterfell-Server)",
|
||||
"timestamp": 1462253821,
|
||||
"user": "DanyKhaleesi69",
|
||||
[{"agent_id": 13,
|
||||
"agent_name": "Telegram",
|
||||
"body_text": "Game of Thrones - S06E01 - The Red Woman [Transcode].",
|
||||
"id": 1000,
|
||||
"notify_action": "play",
|
||||
"poster_url": "http://i.imgur.com/ZSqS8Ri.jpg",
|
||||
"rating_key": 153037,
|
||||
"script_args": "[]",
|
||||
"session_key": 147,
|
||||
"subject_text": "PlexPy (Winterfell-Server)",
|
||||
"timestamp": 1462253821,
|
||||
"user": "DanyKhaleesi69",
|
||||
"user_id": 8008135
|
||||
},
|
||||
},
|
||||
{...},
|
||||
{...}
|
||||
]
|
||||
|
@ -996,8 +1008,8 @@ Optional parameters:
|
|||
|
||||
Returns:
|
||||
json:
|
||||
[["May 08, 2016 09:35:37",
|
||||
"DEBUG",
|
||||
[["May 08, 2016 09:35:37",
|
||||
"DEBUG",
|
||||
"Auth: Came in with a super-token, authorization succeeded."
|
||||
],
|
||||
[...],
|
||||
|
@ -1019,21 +1031,21 @@ Optional parameters:
|
|||
Returns:
|
||||
json:
|
||||
{"recently_added":
|
||||
[{"added_at": "1461572396",
|
||||
"grandparent_rating_key": "1219",
|
||||
"grandparent_thumb": "/library/metadata/1219/thumb/1462175063",
|
||||
"grandparent_title": "Game of Thrones",
|
||||
"library_name": "",
|
||||
"media_index": "1",
|
||||
"media_type": "episode",
|
||||
"parent_media_index": "6",
|
||||
"parent_rating_key": "153036",
|
||||
"parent_thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
"parent_title": "",
|
||||
"rating_key": "153037",
|
||||
"section_id": "2",
|
||||
"thumb": "/library/metadata/153037/thumb/1462175060",
|
||||
"title": "The Red Woman",
|
||||
[{"added_at": "1461572396",
|
||||
"grandparent_rating_key": "1219",
|
||||
"grandparent_thumb": "/library/metadata/1219/thumb/1462175063",
|
||||
"grandparent_title": "Game of Thrones",
|
||||
"library_name": "",
|
||||
"media_index": "1",
|
||||
"media_type": "episode",
|
||||
"parent_media_index": "6",
|
||||
"parent_rating_key": "153036",
|
||||
"parent_thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
"parent_title": "",
|
||||
"rating_key": "153037",
|
||||
"section_id": "2",
|
||||
"thumb": "/library/metadata/153037/thumb/1462175060",
|
||||
"title": "The Red Woman",
|
||||
"year": "2016"
|
||||
},
|
||||
{...},
|
||||
|
@ -1108,12 +1120,12 @@ Optional parameters:
|
|||
|
||||
Returns:
|
||||
json:
|
||||
[{"clientIdentifier": "ds48g4r354a8v9byrrtr697g3g79w",
|
||||
"httpsRequired": "0",
|
||||
"ip": "xxx.xxx.xxx.xxx",
|
||||
"label": "Winterfell-Server",
|
||||
"local": "1",
|
||||
"port": "32400",
|
||||
[{"clientIdentifier": "ds48g4r354a8v9byrrtr697g3g79w",
|
||||
"httpsRequired": "0",
|
||||
"ip": "xxx.xxx.xxx.xxx",
|
||||
"label": "Winterfell-Server",
|
||||
"local": "1",
|
||||
"port": "32400",
|
||||
"value": "xxx.xxx.xxx.xxx"
|
||||
},
|
||||
{...},
|
||||
|
@ -1237,26 +1249,26 @@ Optional parameters:
|
|||
|
||||
Returns:
|
||||
json:
|
||||
[{"content_type": "video",
|
||||
"device_name": "Tyrion's iPad",
|
||||
"failure": "",
|
||||
"friendly_name": "Tyrion Lannister",
|
||||
"item_complete_count": "0",
|
||||
"item_count": "1",
|
||||
"item_downloaded_count": "0",
|
||||
"item_downloaded_percent_complete": 0,
|
||||
"metadata_type": "movie",
|
||||
"music_bitrate": "192",
|
||||
"photo_quality": "74",
|
||||
"platform": "iOS",
|
||||
"rating_key": "154092",
|
||||
"root_title": "Deadpool",
|
||||
"state": "pending",
|
||||
"sync_id": "11617019",
|
||||
"title": "Deadpool",
|
||||
"total_size": "0",
|
||||
"user_id": "328871",
|
||||
"username": "DrukenDwarfMan",
|
||||
[{"content_type": "video",
|
||||
"device_name": "Tyrion's iPad",
|
||||
"failure": "",
|
||||
"friendly_name": "Tyrion Lannister",
|
||||
"item_complete_count": "0",
|
||||
"item_count": "1",
|
||||
"item_downloaded_count": "0",
|
||||
"item_downloaded_percent_complete": 0,
|
||||
"metadata_type": "movie",
|
||||
"music_bitrate": "192",
|
||||
"photo_quality": "74",
|
||||
"platform": "iOS",
|
||||
"rating_key": "154092",
|
||||
"root_title": "Deadpool",
|
||||
"state": "pending",
|
||||
"sync_id": "11617019",
|
||||
"title": "Deadpool",
|
||||
"total_size": "0",
|
||||
"user_id": "328871",
|
||||
"username": "DrukenDwarfMan",
|
||||
"video_quality": "60"
|
||||
},
|
||||
{...},
|
||||
|
@ -1286,24 +1298,24 @@ Returns:
|
|||
"recordsTotal": 2344,
|
||||
"recordsFiltered": 10,
|
||||
"data":
|
||||
[{"friendly_name": "Jon Snow",
|
||||
"id": 1121,
|
||||
"ip_address": "xxx.xxx.xxx.xxx",
|
||||
"last_played": "Game of Thrones - The Red Woman",
|
||||
"last_seen": 1462591869,
|
||||
"media_index": 1,
|
||||
"media_type": "episode",
|
||||
"parent_media_index": 6,
|
||||
"parent_title": "",
|
||||
"platform": "Chrome",
|
||||
"play_count": 149,
|
||||
"player": "Plex Web (Chrome)",
|
||||
"rating_key": 153037,
|
||||
"thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
"transcode_decision": "transcode",
|
||||
"user_id": 328871,
|
||||
[{"friendly_name": "Jon Snow",
|
||||
"id": 1121,
|
||||
"ip_address": "xxx.xxx.xxx.xxx",
|
||||
"last_played": "Game of Thrones - The Red Woman",
|
||||
"last_seen": 1462591869,
|
||||
"media_index": 1,
|
||||
"media_type": "episode",
|
||||
"parent_media_index": 6,
|
||||
"parent_title": "",
|
||||
"platform": "Chrome",
|
||||
"play_count": 149,
|
||||
"player": "Plex Web (Chrome)",
|
||||
"rating_key": 153037,
|
||||
"thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
"transcode_decision": "transcode",
|
||||
"user_id": 328871,
|
||||
"year": 2016
|
||||
},
|
||||
},
|
||||
{...},
|
||||
{...}
|
||||
]
|
||||
|
@ -1343,17 +1355,17 @@ Optional parameters:
|
|||
|
||||
Returns:
|
||||
json:
|
||||
[{"email": "Jon.Snow.1337@CastleBlack.com",
|
||||
"filter_all": "",
|
||||
"filter_movies": "",
|
||||
"filter_music": "",
|
||||
"filter_photos": "",
|
||||
"filter_tv": "",
|
||||
"is_allow_sync": null,
|
||||
"is_home_user": "1",
|
||||
"is_restricted": "0",
|
||||
"thumb": "https://plex.tv/users/k10w42309cynaopq/avatar",
|
||||
"user_id": "328871",
|
||||
[{"email": "Jon.Snow.1337@CastleBlack.com",
|
||||
"filter_all": "",
|
||||
"filter_movies": "",
|
||||
"filter_music": "",
|
||||
"filter_photos": "",
|
||||
"filter_tv": "",
|
||||
"is_allow_sync": null,
|
||||
"is_home_user": "1",
|
||||
"is_restricted": "0",
|
||||
"thumb": "https://plex.tv/users/k10w42309cynaopq/avatar",
|
||||
"user_id": "328871",
|
||||
"username": "Jon Snow"
|
||||
},
|
||||
{...},
|
||||
|
@ -1383,29 +1395,29 @@ Returns:
|
|||
"recordsTotal": 10,
|
||||
"recordsFiltered": 10,
|
||||
"data":
|
||||
[{"allow_guest": "Checked",
|
||||
"do_notify": "Checked",
|
||||
"duration": 2998290,
|
||||
"friendly_name": "Jon Snow",
|
||||
"id": 1121,
|
||||
"ip_address": "xxx.xxx.xxx.xxx",
|
||||
"keep_history": "Checked",
|
||||
"last_played": "Game of Thrones - The Red Woman",
|
||||
"last_seen": 1462591869,
|
||||
"media_index": 1,
|
||||
"media_type": "episode",
|
||||
"parent_media_index": 6,
|
||||
"parent_title": "",
|
||||
"platform": "Chrome",
|
||||
"player": "Plex Web (Chrome)",
|
||||
"plays": 487,
|
||||
"rating_key": 153037,
|
||||
"thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
"transcode_decision": "transcode",
|
||||
"user_id": 328871,
|
||||
"user_thumb": "https://plex.tv/users/568gwwoib5t98a3a/avatar",
|
||||
[{"allow_guest": "Checked",
|
||||
"do_notify": "Checked",
|
||||
"duration": 2998290,
|
||||
"friendly_name": "Jon Snow",
|
||||
"id": 1121,
|
||||
"ip_address": "xxx.xxx.xxx.xxx",
|
||||
"keep_history": "Checked",
|
||||
"last_played": "Game of Thrones - The Red Woman",
|
||||
"last_seen": 1462591869,
|
||||
"media_index": 1,
|
||||
"media_type": "episode",
|
||||
"parent_media_index": 6,
|
||||
"parent_title": "",
|
||||
"platform": "Chrome",
|
||||
"player": "Plex Web (Chrome)",
|
||||
"plays": 487,
|
||||
"rating_key": 153037,
|
||||
"thumb": "/library/metadata/153036/thumb/1462175062",
|
||||
"transcode_decision": "transcode",
|
||||
"user_id": 328871,
|
||||
"user_thumb": "https://plex.tv/users/568gwwoib5t98a3a/avatar",
|
||||
"year": 2016
|
||||
},
|
||||
},
|
||||
{...},
|
||||
{...}
|
||||
]
|
||||
|
@ -1467,7 +1479,7 @@ Required parameters:
|
|||
|
||||
Returns:
|
||||
json:
|
||||
{"results_count": 69,
|
||||
{"results_count": 69,
|
||||
"results_list":
|
||||
{"movie":
|
||||
[{...},
|
||||
|
@ -1553,4 +1565,5 @@ Optional parameters:
|
|||
|
||||
Returns:
|
||||
None
|
||||
```
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue