Optionalinitpath: stringOptionalparent: PlexObjectDatetime this item was added to the library.
OptionalartOptionalartBlurHash string for artwork image.
OptionalaudienceAudience rating (usually from Rotten Tomatoes).
OptionalaudienceKey to audience rating image (rottentomatoes://image.rating.spilled)
OptionalchaptersOptionalchapterChapter source (agent; media; mixed).
Content rating (PG-13; NR; TV-G).
Duration of movie in milliseconds.
OptionalgrandparentPlex GUID (com.plexapp.agents.imdb://tt4302938?lang=en)
plex relative url
OptionallastDatetime item was last accessed.
OptionallibraryHardcoded as 'video' (useful for search filters).
YYYY-MM-DD movie was released.
OptionaloriginalOriginal title, often the foreign title (転々; 엽기적인 그녀).
Optional ReadonlyparentWeakRef to the parent object that this object is built from.
(:class:~plexapi.client.PlexClient): Client objects playing this item (for active sessions).
Optionalplaylist(int): Playlist item ID (only populated for :class:~plexapi.playlist.Playlist items).
Primary extra key (/library/metadata/66351).
Movie rating (7.9; 9.8; 8.1).
Key to rating image (rottentomatoes://image.rating.rotten).
OptionalratingOptionalratingsReadonlyserver(:class:~plexapi.media.Session): Session object, for a playing media file.
(int): Active session key.
Studio that created movie (Di Bonaventura Pictures; 21 Laps Entertainment).
Summary of the artist, track, or album.
OptionaltaglineMovie tag line (Back 2 Work; Who says men can't change?).
URL to thumbnail image.
OptionalthumbBlurHash string for thumbnail image.
OptionaltitleOptionaltitleTitle to use when sorting (defaults to title).
(:class:~plexapi.media.TranscodeSession): Transcode Session object if item is being transcoded (None otherwise).
OptionaltypeOptionalupdatedDatetime this item was updated.
(str): Username of the person playing this item (for active sessions).
OptionaluserUser rating (2.0; 8.0).
OptionalviewCount of times this item was accessed.
(datetime): Datetime item was last viewed (history).
View offset in milliseconds.
OptionalyearStaticTAGxml element tag
StaticTYPExml 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.
Add a collection(s).
Add a genre(s).
Add a label(s).
Tell Plex Media Server to performs analysis on it this item to gather information. Analysis includes:
Returns a new PlayQueue from this media item.
Options for creating the PlayQueue
New PlayQueue instance
Delete a media element. This has to be enabled under settings > server > library in plex webui.
Edit an object.
Obj of settings to edit. Example: {'type': 1, 'id': movie.ratingKey, 'title.value': 'New Title', 'collection[0].tag.tag': 'Super', 'collection.locked': 0}
Use match result to update show metadata.
OptionalsearchResult: 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.)
Optionalbase: stringReturns True if this movie has a credits marker
Returns True if this movie has an intro marker
Get Play History for a media item.
Only return the specified number of results (optional).
Optionalmindate: DateMin datetime to return results from.
Returns True if this object is a child of the given class.
Mark video as unwatched.
Mark video as watched.
Optionalagent: stringAgent name to be used (imdb, thetvdb, themoviedb, etc.)
Optionaltitle: stringTitle of item to search for
Optionalyear: stringYear of item to search in
Optionallanguage: 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
Returns list of available Poster objects.
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:
load full data / reload the data for this object from this.key.
Optionalekey: stringOptionalargs: anyRemove a collection(s).
Remove a genre(s).
Remove a label(s).
Unmatches metadata match from object.
I haven't tested this yet. It may not work.
Optionalurl: stringOptionalfile: Uint8Array
Represents a single Movie.