Optional
initpath: stringOptional
parent: PlexObjectOptional
artOptional
artBlurHash string for artwork image.
Optional
chapterUnknown (media).
Content rating (PG-13; NR; TV-G).
Duration of episode in milliseconds.
Optional
grandparentKey to this episodes :class:~plexapi.video.Show
.
Unique key for this episodes :class:~plexapi.video.Show
.
Key to this episodes :class:~plexapi.video.Show
theme.
Key to this episodes :class:~plexapi.video.Show
thumb.
Title of this episodes :class:~plexapi.video.Show
.
Plex GUID (com.plexapp.agents.imdb://tt4302938?lang=en).
Episode number.
plex relative url
Optional
lastDatetime item was last accessed.
Optional
libraryHardcoded as 'video' (useful for search filters).
Datetime episode was released.
Optional
Readonly
parentWeakRef to the parent object that this object is built from.
Season number of episode.
Key to this episodes :class:~plexapi.video.Season
.
Unique key for this episodes :class:~plexapi.video.Season
.
Key to this episodes thumbnail.
Name of this episode's season
(:class:~plexapi.client.PlexClient
): Client objects playing this item (for active sessions).
Optional
playlist(int): Playlist item ID (only populated for :class:~plexapi.playlist.Playlist
items).
Movie rating (7.9; 9.8; 8.1).
Optional
ratingReadonly
server(:class:~plexapi.media.Session
): Session object, for a playing media file.
(int): Active session key.
Summary of the artist, track, or album.
URL to thumbnail image.
Optional
thumbBlurHash string for thumbnail image.
Optional
titleOptional
titleTitle to use when sorting (defaults to title).
(:class:~plexapi.media.TranscodeSession
): Transcode Session object if item is being transcoded (None otherwise).
Optional
typeOptional
updatedDatetime this item was updated.
(str): Username of the person playing this item (for active sessions).
Optional
viewCount of times this item was accessed.
Optional
viewView offset in milliseconds.
(datetime): Datetime item was last viewed (history).
Optional
yearStatic
TAGxml element tag
Static
TYPExml element type
Retruns True if this is already a full object. A full object means all attributes were populated from the api path representing only this item. For example, the search result for a movie often only contain a portion of the attributes a full object (main url) for that movie would contain.
Returns True if this video is watched.
Return the first first thumbnail url starting on the most specific thumbnail for that item.
Tell Plex Media Server to performs analysis on it this item to gather information. Analysis includes:
Use match result to update show metadata.
Optional
searchResult: SearchResultSearch result
True uses first match from matches, False allows user to provide the match
(str): Agent name to be used (imdb, thetvdb, themoviedb, etc.)
Optional
agent: stringAgent name to be used (imdb, thetvdb, themoviedb, etc.)
Optional
title: stringTitle of item to search for
Optional
year: stringYear of item to search in
Optional
language: stringLanguage of item to search in
Examples:
video.matches()
video.matches(title="something", year=2020)
video.matches(title="something")
video.matches(year=2020)
video.matches(title="something", year="")
video.matches(title="", year=2020)
video.matches(title="", year="")
The default behaviour in Plex Web = no params in plexapi
Both title and year specified by user
Year automatically filled in
Title automatically filled in
Explicitly searches for title with blank year
Explicitly searches for blank title with year
I don't know what the user is thinking... return the same result as 1
For 2 to 7, the agent and language is automatically filled in
Refreshing a Library or individual item causes the metadata for the item to be refreshed, even if it already has metadata. You can think of refreshing as "update metadata for the requested item even if it already has some". You should refresh a Library or individual item if:
Datetime this item was added to the library.