Optional_Optional_True 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
OptionalapiPlex server API version.
Unknown
True if server has an HTTPS certificate
Unknown
Plex server country code.
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
True if item clusters are enabled.
Unknown
OptionalmachineUnique ID for this server (looks like an md5)
True if media providers are enabled.
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)
OptionalofflineServer offline transcode capability flag.
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).
OptionalphotoTrue 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
OptionalrequestUnknown
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.
Options for the URL.
Optionalbase?: stringThe base URL before the fragment (#!). Default is https://app.plex.tv/desktop.
Optionalendpoint?: stringThe Plex Web URL endpoint. None for server, 'playlist' for playlists, 'details' for all other media types.
Optionalparams?: URLSearchParamsURL parameters to append.
Returns a list of all current server activities.
OptionalmediaType: string | numberReturn currently active background transcoding jobs.
Returns server bandwidth statistics.
Filter options for bandwidth stats.
Browse server-visible filesystem paths through Plex.
Returns a list of all scheduled butler (maintenance) tasks.
Returns all PlexClient objects connected to the server.
Returns items from the Continue Watching hub.
Create a Plex optimized-media group for a movie, show, season, episode, or clip.
Creates a regular or smart playlist.
Creates and returns a new PlayQueue.
Media item or playlist to add to PlayQueue
Creation options for the PlayQueue
New PlayQueue instance
Create a temporary delegation token. Unclaimed servers have no token.
Delete a history entry without deleting its media.
Download a ZIP archive as a Blob; callers choose where and whether to save it.
Returns 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
Filter and paging options.
Download and apply an available update on platforms that support it.
Returns true when Plex can browse the given server-visible path.
Library to browse or search your media.
Returns a 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.
Returns playlists saved on this server.
Send a request to the server and parse the JSON response. Use PlexServer.stream for binary responses.
Returns server resource usage statistics (CPU/memory).
Trigger a butler task to run immediately.
Name of the task to run (e.g. 'BackupDatabase', 'OptimizeDatabase', etc).
Returns 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.
Search options.
Optionallimit?: numberOptionally limit to the specified number of results per Hub.
Optionalmediatype?: Optionally limit your search to the specified media type.
Returns a list of all active session (currently playing) media objects.
Resolve a session or history entry back to its current library metadata.
Start receiving typed server notifications. Call stop() on the returned listener to disconnect.
Stop a playback session by its session ID.
Open an authenticated response stream from this server.
Connect as a user with access to this server without changing this connection.
Returns a list of all system accounts on the server.
Returns a list of all system devices on the server.
Returns a URL to a transcoded image.
Transcode image options.
Returns a list of all active transcode sessions.
Build a URL for this server. Extra params and the token are added to any query string already in the key.
Walk a server-visible filesystem tree through Plex.
Optionalpath: string | ServerPath
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 MyPlexAccount.