Skip to main content

Module model

Module model 

Source
Expand description

The media model clients browse: libraries, and the movies, shows and music in them (ARCHITECTURE §5).

playback is filled in by the server for the session’s own user; it never comes from Plex (§36).

Structs§

Album
Artist
Artwork
A reference to artwork. Clients fetch the image through the client protocol with the id.
CastMember
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.
LibraryServer
The server a library of another server’s is shared from (P8-02), 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 (P2-10).
Movie
PlaybackState
The session user’s progress on an item.
Season
Show
Track

Enums§

ArtworkKind
The role a piece of artwork plays.
Item
Any one item a catalog returns. On the wire it is the item’s own object with a kind field added, for example {"kind": "movie", "id": …}.
LibraryKind
What a library holds.
MarkerKind
What a marked stretch of an item is.