Files
plexpy/docs/models/operations/getmediametadatametadata.md

74 KiB
Raw Blame History

GetMediaMetaDataMetadata

Fields

Field Type Required Description Example
rating_key str ✔️ The rating key of the metadata item. 44288
key str ✔️ The API key to access metadata details. /library/metadata/44288/children
guid str ✔️ The globally unique identifier for the item. plex://show/5d9c08254eefaa001f5d6dcb
type str ✔️ The type of content (e.g., show, movie). show
title str ✔️ The title of the content. Better Call Saul
library_section_title str ✔️ The title of the library section. TV Series
library_section_id int ✔️ The ID of the library section. 2
library_section_key str ✔️ The key of the library section. /library/sections/2
content_rating str ✔️ The content rating (e.g., TV-MA). TV-MA
summary str ✔️ A summary of the content. Before Saul Goodman, he was Jimmy McGill. And if you're calling Jimmy, you're in real trouble. The prequel to "Breaking Bad" follows small-time attorney, Jimmy McGill, as he transforms into Walter White's morally challenged lawyer, Saul Goodman.
audience_rating float ✔️ The audience rating for the content. 8.7
year int ✔️ The release year. 2015
thumb str ✔️ URL of the thumbnail image. /library/metadata/44288/thumb/1736487993
art str ✔️ URL of the art image. /library/metadata/44288/art/1736487993
duration int ✔️ Duration of the content in milliseconds. 2700000
originally_available_at datetime ✔️ The original release date. 2015-02-08
added_at int ✔️ Unix timestamp when the item was added. 1625505101
updated_at int ✔️ Unix timestamp when the item was last updated. 1736487993
audience_rating_image str ✔️ The URL for the audience rating image. themoviedb://image.rating
image List[operations.GetMediaMetaDataImage] ✔️ An array of image objects.
ultra_blur_colors operations.GetMediaMetaDataUltraBlurColors ✔️ N/A
guids List[operations.Guids] ✔️ An array of GUID objects.
rating List[operations.Rating] ✔️ An array of rating objects.
parent_rating_key Optional[str] The rating key of the parent of this metadata item. 48047
grandparent_rating_key Optional[str] The rating key of the grandparent of this metadata item. 45520
parent_guid Optional[str] A GUID identifying the parent entity (e.g., season) for the item. plex://season/618b89208dde18df707ad15c
grandparent_guid Optional[str] A GUID identifying the grandparent entity (e.g., show). plex://show/5e16253691c20300412003a8
grandparent_slug Optional[str] A URL-friendly identifier (slug) for the grandparent entity. alice-in-borderland-2020
grandparent_key Optional[str] A key identifying the grandparent metadata in the library. /library/metadata/45520
parent_key Optional[str] A key identifying the parent metadata in the library. /library/metadata/48047
slug Optional[str] A URL-friendly identifier for the item. better-call-saul
studio Optional[str] The studio that produced the content. Sony Pictures Television
original_title Optional[str] The original title of the content. Wicked: Part I
index Optional[int] The index or order of the item. 1
grandparent_title Optional[str] The title of the grandparent entity (typically the show's title). Alice in Borderland
parent_title Optional[str] The title of the parent entity (typically the season's title). Season 2
view_count Optional[int] The number of times the item has been viewed. 4
skip_count Optional[int] The number of times the item has been skipped. 1
last_viewed_at Optional[int] Unix timestamp of when the item was last viewed. 1625764795
tagline Optional[str] The tagline of the content. Make the call
chapter_source Optional[str] N/A media
primary_extra_key Optional[str] N/A /library/metadata/134704
theme Optional[str] URL of the theme image. /library/metadata/44288/theme/1736487993
leaf_count Optional[int] The total number of episodes (or leaves). 63
viewed_leaf_count Optional[int] The number of episodes that have been viewed. 4
child_count Optional[int] The number of child items. 6
parent_index Optional[int] The index number of the parent entity, which could indicate its order or position. 2
parent_thumb Optional[str] The URL of the parent's thumbnail image. /library/metadata/48047/thumb/1671800243
grandparent_thumb Optional[str] The URL of the grandparent's thumbnail image. /library/metadata/45520/thumb/1736488003
grandparent_art Optional[str] The URL of the grandparent's art image. /library/metadata/45520/art/1736488003
media List[operations.GetMediaMetaDataMedia] N/A
genre List[operations.GetMediaMetaDataGenre] An array of genre tags.
country List[operations.GetMediaMetaDataCountry] An array of country tags.
role List[operations.GetMediaMetaDataRole] An array of Actor roles.
director List[operations.GetMediaMetaDataDirector] An array of Director roles.
writer List[operations.GetMediaMetaDataWriter] An array of Writer roles.
producer List[operations.Producer] An array of Writer roles.
similar List[operations.Similar] An array of similar content objects.
location List[operations.GetMediaMetaDataLocation] An array of location objects.