Abstract
Optional
initpath: stringOptional
parent: PlexObjectReadonly
VIDEO_Optional
_fieldOptional
_filterUnknown (com.plexapp.agents.imdb, etc)
l True if you allow syncing content from this section.
Wallpaper artwork used to respresent this section.
Composit image used to represent this section.
Datetime this library section was created.
Unknown
plex relative url
Language represented in this section (en, xn, etc).
Paths on disk where section content is stored.
Optional
Readonly
parentWeakRef to the parent object that this object is built from.
True if this section is currently being refreshed.
Internal scanner used to find media (Plex Movie Scanner, Plex Premium Music Scanner, etc.)
Readonly
serverThumbnail image used to represent this section.
Title of this section.
Type of content section represents (movie, artist, photo, show).
Datetime this library section was last updated.
Unique id for this section (32258d7c-3e6c-4ac5-98ad-bad7a3b78c63)
Static
ALLOWED_Static
ALLOWED_Static
BOOLEAN_Static
TAGxml element tag
Static
TYPExml element type
Title of the item to return.
the media item with the specified title.
The data type for the field (tag, integer, string, boolean, date, subtitleLanguage, audioLanguage, resolution).
Returns the media item with the specified external IMDB, TMDB, or TVDB ID. Note: This search uses a PlexAPI operator so performance may be slow. All items from the entire Plex library need to be retrieved for each guid search. It is recommended to create your own lookup dictionary if you are searching for a lot of external guids.
The external guid of the item to return.
Examples: IMDB imdb://tt0944947
, TMDB tmdb://1399
, TVDB tvdb://121361
.
Example:
.. code-block:: python
# This will retrieve all items in the entire library 3 times
result1 = library.getGuid('imdb://tt0944947')
result2 = library.getGuid('tmdb://1399')
result3 = library.getGuid('tvdb://121361')
# This will only retrieve all items in the library once to create a lookup dictionary
guidLookup = {guid.id: item for item in library.all() for guid in item.guids}
result1 = guidLookup['imdb://tt0944947']
result2 = guidLookup['tmdb://1399']
result3 = guidLookup['tvdb://121361']
Returns the Plex Web URL for the library.
Optional
base: stringThe base URL before the fragment (#!
).
Default is https://app.plex.tv/desktop.
Optional
tab: stringThe library tab (recommended, library, collections, playlists, timeline).
Optional
key: stringA hub key.
Returns a list of available FilteringFields for a specified libtype. This is the list of options in the custom filter dropdown menu
Optional
libtype: The library type to filter (movie, show, season, episode, artist, album, track, photoalbum, photo, collection).
The data type for the field (tag, integer, string, boolean, date, subtitleLanguage, audioLanguage, resolution).
Search the library. The http requests will be batched in container_size. If you are only looking for the
first
Example: "studio=Comedy%20Central" or "year=1999" "title=Kung Fu" all work. Other items
such as actor=
Search using a number of different attributes
Base class for a single library section.