A TV Show
Data type | Property | Description |
---|---|---|
int | ratingKey | The key of the show |
string | key | The string to query the details of the show |
string | guid | That GUID |
string | studio | The studio that created the show |
string | type | The type of the media (show ) |
string | title | The title of the show |
string | titleSort | The string that is used to actually sort the show for display |
int | episodeSort | An integer representing the way the episodes should be sorted |
string | contentRating | The content rating (TV-G, TV-PG, etc) |
string | summary | The summary of the whole show |
int | index | The index |
string | audienceRating | |
int | viewCount | The number of times all episodes have been viewed |
int | skipCount | The number of times an episode was skipped |
DateTime |
lastViewedAt | The date the last episode was viewed |
DateTime |
addedAt | The date the show was added to the library |
DateTime |
updatedAt | The date the show entry in the library was last updated |
DateTime |
originallyAvailableAt | The original air date of the first episode in the show |
int | year | The original air year of the show |
string | thumb | The show thumbnail |
string | art | The show artwork |
Duration | duration | The aired duration of each episode |
int | leafCount | The number of episodes |
int | viewedLeafCount | The number of viewed episodes |
int | childCount | The number of child seasons in the show |
string | audienceRatingImage | |
array:string | genre | The genres the show is in |
array:string | role | The actor/actresses in the show |
ItemCollection :Season (Season.md) |
seasons | The array containing all the seasons |
Visibility | Function (parameters,...): return |
---|---|
public | __construct(): void |
public | __get(string $var): mixed Magic getter |
public | __set(string $var, mixed $val): void Magic setter |
public | getChildren(): array:Season Method to get the seasons |
public | addSeason(Season $season): bool Method to add a season to the show |
public static | fromLibrary(array $lib): Show Method to create a show from the Plex API call |