Expand description
The media model clients browse: libraries, and the movies, shows and music in them.
playback is filled in by the server for the session’s own user; it
never comes from Plex.
Structs§
- Album
- Artist
- Artwork
- A reference to artwork. Clients fetch the image through the client
protocol with the
id. - Cast
Member - Someone in a movie’s, show’s or episode’s credits: an actor, with the part they play, or a director.
- Episode
- Library
- A library of one kind of media.
- Library
Server - The server a library of another server’s is shared from, so a client groups libraries by server, an offline one last and greyed.
- Marker
- A stretch of a movie or episode a viewer may want to skip.
- Markers
- An item’s markers, in order of start, without the kinds this build
does not know: one from a newer server (
MarkerKind::Unknown), which an app shows nothing for, is left out as the list is read. The same list asVec<Marker>on the wire and to Swift and Kotlin. - Movie
- Playback
State - The session user’s progress on an item.
- Progress
- How far through an item the user is (
PlaybackState::progress). - Season
- Show
- Track
Enums§
- Artwork
Kind - The role a piece of artwork plays.
- Caption
- The line under a card’s title, in parts.
- Item
- Any one item a catalog returns. On the wire it is the item’s own object
with a
kindfield added, for example{"kind": "movie", "id": …}. - Library
Kind - What a library holds.
- Marker
Kind - What a marked stretch of an item is.
- Years
Aired - The years a show ran, as its card says them.