Default request timeout in milliseconds.
Optional
_libraryOptional
_settingsTrue if server allows camera upload
True if server allows channel access (iTunes?)
True is server allows media to be deleted.
True is server allows sharing
True is server allows sync
Unknown
Unknown
True if server has an HTTPS certificate
Unknown
Unknown
Unknown
Human friendly name for this server
True if Hub Search <https!://www.plex.tv/blog /seek-plex-shall-find-leveling-web-app/>
_ is enabled. I believe this
is enabled for everyone
Unknown
Optional
machineUnique ID for this server (looks like an md5)
True if multiusers <https!://support.plex.tv/hc/en-us/articles/200250367-Multi-User-Support>
_ are enabled.
Unknown (True if logged into myPlex?)
Unknown (ex!: mapped)
Unknown (ex!: ok).
True if you have a myPlex subscription
Email address if signed into myPlex (user@example.com)
List of features allowed by the server owner. This may be based on your PlexPass subscription. Features include!: camera_upload, cloudsync, content_filter, dvr, hardware_transcoding, home, lyrics, music_videos, pass, photo_autotags, premium_music_metadata, session_bandwidth_restrictions, sync, trailers, webhooks (and maybe more).
True if photo auto-tagging <https!://support.plex.tv/hc/en-us/articles/234976627-Auto-Tagging-of-Photos>
_ is enabled.
Platform the server is hosted on (ex!: Linux)
Platform version (ex!: '6.1 (Build 7601)', '4.4.0-59-generic').
Unknown
Unknown
Unknown
Unknown
Current Streaming Brain <https!://www.plex.tv/blog/mcstreamy-brain-take-world-two-easy-steps/>
_ version.
True if syncing to a device <https!://support.plex.tv/hc/en-us/articles/201053678-Sync-Media-to-a-Device>
_ is enabled.
Default request timeout in milliseconds.
Number of active video transcoding sessions.
True if audio transcoding audio is available.
True if audio transcoding lyrics is available.
True if audio transcoding photos is available.
True if audio transcoding subtitles is available.
True if audio transcoding video is available.
List of video bitrates.
List of video qualities.
List of video resolutions.
Datetime the server was updated.
Unknown
Current Plex version (ex!: 1.3.2.3112-1751929)
True if voice search is enabled. (is this Google Voice search?)
Build the Plex Web URL for the object.
The base URL before the fragment (#!
).
Default is https://app.plex.tv/desktop.
Optional
endpoint: stringThe Plex Web URL endpoint. None for server, 'playlist' for playlists, 'details' for all other media types.
Optional
params: URLSearchParamsReturns a list of media items from watched history. If there are many results, they will
be fetched from the server in batches of X_PLEX_CONTAINER_SIZE amounts. If you're only
looking for the first
Only return the specified number of results (optional).
Optional
mindate: DateMin datetime to return results from. This really helps speed up the result listing. For example: datetime.now() - timedelta(days=7)
Optional
ratingKey: string | numberrequest history for a specific ratingKey item.
Optional
accountId: string | numberrequest history for a specific account ID.
Optional
librarySectionId: string | numberrequest history for a specific library section ID.
Returns a :class:~plexapi.myplex.MyPlexAccount
object using the same
token to access this server. If you are not the owner of this PlexServer
you're likley to recieve an authentication error calling this.
Main method used to handle HTTPS requests to the Plex server. This method helps by encoding the response to utf-8 and parsing the returned XML into and ElementTree object. Returns None if no data exists in the response. TODO: use headers
Optional
body?: Uint8ArrayOptional
headers?: Record<string, string>Optional
username: stringOptional
password: stringReturns a list of media items or filter categories from the resulting
Hub Search <https://www.plex.tv/blog/seek-plex-shall-find-leveling-web-app/>
_
against all items in your Plex library. This searches genres, actors, directors,
playlists, as well as all the obvious media titles. It performs spell-checking
against your search terms (because KUROSAWA is hard to spell). It also provides
contextual search results. So for example, if you search for 'Pernice', it’ll
return 'Pernice Brothers' as the artist result, but we’ll also go ahead and
return your most-listened to albums and tracks from the artist. If you type
'Arnold' you’ll get a result for the actor, but also the most recently added
movies he’s in.
Query to use when searching your library.
Optional
mediatype: Optionally limit your search to the specified media type.
Optional
limit: numberOptionally limit to the specified number of results per Hub.
This is the main entry point to interacting with a Plex server. It allows you to list connected clients, browse your library sections and perform actions such as emptying trash. If you do not know the auth token required to access your Plex server, or simply want to access your server with your username and password, you can also create an PlexServer instance from :class:
~plexapi.myplex.MyPlexAccount
.