pub struct Show {
pub id: MediaId,
pub title: String,
pub year: Option<u16>,
pub summary: Option<String>,
pub content_rating: Option<String>,
pub season_count: Option<u32>,
pub genres: Vec<String>,
pub last_aired: Option<CalendarDate>,
pub cast: Vec<CastMember>,
pub artwork: Vec<Artwork>,
}Fields§
§id: MediaId§title: String§year: Option<u16>§summary: Option<String>§content_rating: Option<String>The age rating as the catalog has it (“R”, “TV-MA”), shown as
is; None when it has none.
season_count: Option<u32>How many seasons it has, specials counted as one, as the catalog
counts them; None when it does not say.
genres: Vec<String>Its genres, by the catalog’s names and in its order. A listing may hold only the first few: Plex gives two in listings and search, and all of them on the show itself.
last_aired: Option<CalendarDate>The day its latest episode in the library first aired, for the
end of “2015–2018”. Only the show’s own item has it; None in
listings and search, and where no episode has a date.
A catalog that does not know whether a show has ended (Plex does not) still sets it on a running show: a client that shows a run from it may show one that has not ended.
This and cast are read as None and no one when left out, as
Movie::release_date is.
cast: Vec<CastMember>Who is in it and who directed it (see CastMember).
artwork: Vec<Artwork>