PlexItem¶
-
class
PlexItem
(device, path, data)¶ The basic building block for the Plex API. This class allows retrieving information about the item.
Do not construct this manually, instead get a PlexDevice which is an instance of PlexItem and then use it to browse the device’s contents.
Arguments: - device (PlexDevice) – the device that owns this item or null if this is the device.
- path (String) – the path to this item.
- data (Object) – the item’s data.
-
PlexItem.
device
¶ Gets the device owning this item.
-
PlexItem.
path
¶ Gets the path identifying this item.
-
PlexItem.
name
¶ Gets the item’s name.
-
PlexItem.
art
¶ Gets a banner picture to represent the item.
-
PlexItem.
thumb
¶ Gets a thumbnail to represent the item.
-
PlexItem.
thumbAspectRatio
¶ Gets the expected thumbnail aspect ratio.