plex-api 0.0.12

Library for communication with Plex server. Work in progress, not ready for any use. See github for details.
Documentation
{
    "MediaContainer": {
        "size": 1,
        "allowCameraUpload": true,
        "allowChannelAccess": true,
        "allowMediaDeletion": true,
        "allowSharing": true,
        "allowSync": true,
        "allowTuners": true,
        "backgroundProcessing": true,
        "certificate": true,
        "companionProxy": true,
        "countryCode": "gbr",
        "diagnostics": "logs,databases,streaminglogs",
        "eventStream": true,
        "friendlyName": "machine_id",
        "livetv": 7,
        "machineIdentifier": "machine_id",
        "musicAnalysis": 2,
        "myPlex": true,
        "myPlexMappingState": "mapped",
        "myPlexSigninState": "ok",
        "myPlexSubscription": false,
        "myPlexUsername": "username",
        "offlineTranscode": 1,
        "ownerFeatures": "044a1fac-6b55-47d0-9933-25a035709432,04d7d794-b76c-49ef-9184-52f8f1f501ee,06d14b9e-2af8-4c2b-a4a1-ea9d5c515824,07f804e6-28e6-4beb-b5c3-f2aefc88b938,0eee866d-782b-4dfd-b42b-3bbe8eb0af16,1417df52-986e-4e4b-8dcd-3997fbc5c976,16d69c53-4c40-4821-b9f3-57ca690b2d4d,228a6439-ee2f-4a9b-b0fc-1bfcd48b5095,22b27e12-472e-4383-92ea-2ec3976d8e72,24b4cf36-b296-4002-86b7-f1adb657e76a,2797e341-b062-46ed-862f-0acbba5dd522,298a11d3-9324-4104-8047-0ac10df4a8a6,2ea0e464-ea4f-4be2-97c1-ce6ed4b377dd,300231e0-69aa-4dce-97f4-52d8c00e3e8c,34e182bd-2f62-4678-a9e9-d13b3e25019d,39dbdd84-8339-4736-96a1-0eb105cc2e08,3ae06d3a-a76b-435e-8cef-2d2008610ba2,3c376154-d47e-4bbf-9428-2ea2592fd20a,4742780c-af9d-4b44-bf5b-7b27e3369aa8,4b522f91-ae89-4f62-af9c-76f44d8ef61c,4cd4dc0e-6cbe-456c-9988-9f073fadcd73,4e27cf82-9fb6-4ebe-8e10-c48bfe6fbbb6,547514ab-3284-46e5-af77-bbaff247e3fc,567033ef-ffee-44fb-8f90-f678077445f9,5b6190a9-77a4-477e-9fbc-c8118e35a4c1,5d819d02-5d04-4116-8eec-f49def4e2d6f,5e2a89ec-fb26-4234-b66e-14d37f35dff2,62b1e357-5450-41d8-9b60-c7705f750849,644c4466-05fa-45e0-a478-c594cf81778f,65685ff8-4375-4e4c-a806-ec1f0b4a8b7f,67c80530-eae3-4500-a9fa-9b6947d0f6d1,68747f3a-ce13-46ce-9274-1e0544c9f500,6d7be725-9a96-42c7-8af4-01e735138822,78643fe5-d192-40c7-8e93-5ccf04c0b767,7e7596aa-6e2c-41d1-a460-1e13cf0b62f2,849433b0-ef60-4a71-9dd9-939bc01f5362,8536058d-e1dd-4ae7-b30f-e8b059b7cc17,85ebfb7b-77fb-4afd-bb1a-2fe2fefdddbe,86da2200-58db-4d78-ba46-f146ba25906b,88aba3a3-bd62-42a5-91bb-0558a4c1db57,8e8dd5c8-14a4-4208-97d4-623e09191774,96cac76e-c5bc-4596-87eb-4fdfef9aaa11,98872b06-2ff3-4b71-96bc-039e2ebe7adc,9a67bff2-cb80-4bf9-81c6-9ad2f4c78afd,a19d495a-1cef-4f7c-ab77-5186e63e17f7,a3d2d5c4-46a0-436e-a2d6-80d26f32b369,a4bc568b-477f-4f36-894b-49e19f34353f,a536a6e1-0ece-498a-bf64-99b53c27de3a,a548af72-b804-4d05-8569-52785952d31d,a6f3f9b3-c10c-4b94-ad59-755e30ac6c90,abd37b14-706c-461f-8255-fa9563882af3,adaptive_bitrate,b20d91ca-1b2f-45a2-a115-c1ad24c66ac5,b227c158-e062-4ff1-95d8-8ed11cecafb1,b2403ac6-4885-4971-8b96-59353fd87c72,b46d16ae-cbd6-4226-8ee9-ab2b27e5dd42,b5874ecb-6610-47b2-8906-1b5a897acb02,b612f571-83c3-431a-88eb-3f05ce08da4a,b77e6744-c18d-415a-8e7c-7aac5d7a7750,bb50c92f-b412-44fe-8d8a-b1684f212a44,bfeaee4e-965a-4d24-b163-020c3c57d936,c55d5900-b546-416d-a8c5-45b24a13e9bc,c7ae6f8f-05e6-48bb-9024-c05c1dc3c43e,c9d9b7ee-fdd9-474e-b143-5039c04e9b9b,camera_upload,cc9bea3b-11ab-4402-a222-4958bb129cab,collections,d14556be-ae6d-4407-89d0-b83953f4789a,d1477307-4dac-4e57-9258-252e5b908693,d20f9af2-fdb1-4927-99eb-a2eb8fbff799,d85cb60c-0986-4a02-b1e1-36c64c609712,d9f42aea-bc9d-47db-9814-cd7a577aff48,dab501df-5d99-48ef-afc2-3e839e4ddc9a,db965785-ca5c-46fd-bab6-7b3d29c18492,ddd730e1-a0a0-429f-a7d3-7c5001d24497,download_certificates,e45bc5ae-1c3a-4729-922b-c69388c571b7,e66aa31c-abdd-483d-93bc-e17485d8837f,e7cea823-02e5-48c4-a501-d37b82bf132f,ea442c16-044a-4fa7-8461-62643f313c62,ee352392-2934-4061-ba35-5f3189f19ab4,f3235e61-c0eb-4718-ac0a-7d6eb3d8ff75,f3a99481-9671-4274-a0d3-4c06a72ef746,f83450e2-759a-4de4-8b31-e4a163896d43,f87f382b-4a41-4951-b4e4-d5822c69e4c6,f8ea4f37-c554-476a-8852-1cbd2912f3f6,fb34e64d-cd89-47b8-8bae-a6d20c542bae,fec722a0-a6d4-4fbd-96dc-4ffb02b072c5,federated-auth,home,kevin-bacon,livetv,loudness,radio,server-manager,shared-radio,tuner-sharing,type-first,unsupportedtuners",
        "photoAutoTag": true,
        "platform": "Linux",
        "platformVersion": "5.10.76-linuxkit",
        "pluginHost": true,
        "pushNotifications": false,
        "readOnlyLibraries": false,
        "startState": "startingPlugins",
        "streamingBrainABRVersion": 3,
        "streamingBrainVersion": 2,
        "sync": true,
        "transcoderActiveVideoSessions": 0,
        "transcoderAudio": true,
        "transcoderLyrics": true,
        "transcoderSubtitles": true,
        "transcoderVideo": true,
        "transcoderVideoBitrates": "64,96,208,320,720,1500,2000,3000,4000,8000,10000,12000,20000",
        "transcoderVideoQualities": "0,1,2,3,4,5,6,7,8,9,10,11,12",
        "transcoderVideoResolutions": "128,128,160,240,320,480,768,720,720,1080,1080,1080,1080",
        "updatedAt": -1,
        "updater": true,
        "version": "1.25.3.5409-f11334058",
        "voiceSearch": true,
        "MediaProvider": [
            {
                "identifier": "com.plexapp.plugins.library",
                "title": "Library",
                "types": "video,audio,photo",
                "protocols": "stream,download",
                "Feature": [
                    {
                        "key": "/library/sections",
                        "type": "content",
                        "Directory": [
                            {
                                "hubKey": "/hubs",
                                "title": "Home"
                            },
                            {
                                "agent": "com.plexapp.agents.imdb",
                                "language": "en",
                                "refreshing": false,
                                "scanner": "Plex Movie Scanner",
                                "uuid": "cebcb7e3-5031-436b-906a-3640d878ba2c",
                                "id": "1",
                                "key": "/library/sections/1",
                                "hubKey": "/hubs/sections/1",
                                "type": "movie",
                                "title": "Movies",
                                "updatedAt": 1628211599,
                                "scannedAt": 1628211599,
                                "Pivot": [
                                    {
                                        "id": "recommended",
                                        "key": "/hubs/sections/1",
                                        "type": "hub",
                                        "title": "Recommended",
                                        "context": "content.discover",
                                        "symbol": "star"
                                    },
                                    {
                                        "id": "library",
                                        "key": "/library/sections/1/all?type=1",
                                        "type": "list",
                                        "title": "Library",
                                        "context": "content.library",
                                        "symbol": "library"
                                    }
                                ]
                            },
                            {
                                "agent": "com.plexapp.agents.thetvdb",
                                "language": "en",
                                "refreshing": false,
                                "scanner": "Plex Series Scanner",
                                "uuid": "95c0f894-3716-41c8-9f70-38e344a93019",
                                "id": "2",
                                "key": "/library/sections/2",
                                "hubKey": "/hubs/sections/2",
                                "type": "show",
                                "title": "TV Shows",
                                "updatedAt": 1628211599,
                                "scannedAt": 1628211599,
                                "Pivot": [
                                    {
                                        "id": "recommended",
                                        "key": "/hubs/sections/2",
                                        "type": "hub",
                                        "title": "Recommended",
                                        "context": "content.discover",
                                        "symbol": "star"
                                    },
                                    {
                                        "id": "library",
                                        "key": "/library/sections/2/all?type=2",
                                        "type": "list",
                                        "title": "Library",
                                        "context": "content.library",
                                        "symbol": "library"
                                    }
                                ]
                            },
                            {
                                "agent": "com.plexapp.agents.lastfm",
                                "language": "en",
                                "refreshing": false,
                                "scanner": "Plex Music Scanner",
                                "uuid": "6248e967-8d45-4957-ba5e-ca85df9104b9",
                                "id": "5",
                                "key": "/library/sections/5",
                                "hubKey": "/hubs/sections/5",
                                "type": "artist",
                                "title": "Music",
                                "updatedAt": 1628211599,
                                "scannedAt": 1628211599,
                                "Pivot": [
                                    {
                                        "id": "recommended",
                                        "key": "/hubs/sections/5",
                                        "type": "hub",
                                        "title": "Recommended",
                                        "context": "content.discover",
                                        "symbol": "star"
                                    },
                                    {
                                        "id": "library",
                                        "key": "/library/sections/5/all?type=8",
                                        "type": "list",
                                        "title": "Library",
                                        "context": "content.library",
                                        "symbol": "library"
                                    }
                                ]
                            },
                            {
                                "agent": "com.plexapp.agents.none",
                                "language": "en",
                                "refreshing": false,
                                "scanner": "Plex Photo Scanner",
                                "uuid": "f173bb82-a89d-44ba-87d8-b818c62ba54d",
                                "id": "3",
                                "key": "/library/sections/3",
                                "hubKey": "/hubs/sections/3",
                                "type": "photo",
                                "title": "Photos",
                                "updatedAt": 1628211599,
                                "scannedAt": 1628211599,
                                "Pivot": [
                                    {
                                        "id": "recommended",
                                        "key": "/hubs/sections/3",
                                        "type": "hub",
                                        "title": "Recommended",
                                        "context": "content.discover",
                                        "symbol": "star"
                                    },
                                    {
                                        "id": "timeline",
                                        "key": "view://photo/timeline",
                                        "type": "view",
                                        "title": "Timeline",
                                        "context": "content.discover",
                                        "symbol": "timeline"
                                    },
                                    {
                                        "id": "library",
                                        "key": "/library/sections/3/all",
                                        "type": "list",
                                        "title": "Library",
                                        "context": "content.library",
                                        "symbol": "library"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "key": "/hubs/search",
                        "type": "search"
                    },
                    {
                        "key": "/library/matches",
                        "type": "match"
                    },
                    {
                        "key": "/library/metadata",
                        "type": "metadata"
                    },
                    {
                        "key": "/:/rate",
                        "type": "rate"
                    },
                    {
                        "key": "/photo/:/transcode",
                        "type": "imagetranscoder"
                    },
                    {
                        "key": "/hubs/promoted",
                        "type": "promoted"
                    },
                    {
                        "key": "/hubs/continueWatching",
                        "type": "continuewatching"
                    },
                    {
                        "key": "/actions",
                        "type": "actions",
                        "Action": [
                            {
                                "id": "removeFromContinueWatching",
                                "key": "/actions/removeFromContinueWatching"
                            }
                        ]
                    },
                    {
                        "flavor": "universal",
                        "key": "/playlists",
                        "type": "playlist"
                    },
                    {
                        "flavor": "universal",
                        "key": "/playQueues",
                        "type": "playqueue"
                    },
                    {
                        "key": "/library/collections",
                        "type": "collection"
                    },
                    {
                        "scrobbleKey": "/:/scrobble",
                        "unscrobbleKey": "/:/unscrobble",
                        "key": "/:/timeline",
                        "type": "timeline"
                    },
                    {
                        "type": "manage"
                    },
                    {
                        "type": "queryParser"
                    },
                    {
                        "flavor": "download",
                        "type": "subscribe"
                    }
                ]
            }
        ]
    }
}