Expand description
Playlists (feature spoolframe:playlists): ordered
lists of movies, episodes and tracks a user makes, shares, pins and
plays.
An entry is one place in a playlist, named by its EntryId: the same
item may be in a playlist more than once, as two entries. Edits name
entries, never items, so two editors moving the same film each move
their own.
Structs§
- Kinds
- The kinds of item a playlist may hold, ticked when it is made. They can change later only to allow more.
- PinNote
- A pinned playlist that left the user’s Pinned: say so once, then
DismissPinNotes. - Play
Settings - How a user plays a playlist, kept per user and playlist.
- Playlist
Entry - One entry of a playlist, with its item as the catalog has it now and the user’s watch state on it.
- Playlist
Next - The entry to play now (
PlayPlaylist,NextInPlaylist), with its item, the user’s watch state on it (to resume where they were) and its intro and credits markers (to skip the credits). - Playlist
Page - One page of a playlist’s entries (
GetPlaylist). Items the user may not see are neither listed nor counted. - Playlist
Ref - A playlist holding an item, as the item’s details list it.
- Playlist
Share - One user a playlist is shared with.
- Playlist
Summary - A playlist as one user sees it, without its entries.
- Plex
Import - What importing the user’s Plex playlists made, or would make
(
ImportPlexPlaylists). - Plex
Imported - One Plex playlist imported.
- Plex
Unmapped - Something of a Plex playlist not imported.
- Share
Candidate - Someone a playlist can be shared with (
ListShareCandidates): an enabled account here, or a portable user granted access. - Share
Candidate Page - One page of whom a playlist can be shared with
(
ListShareCandidates), by display name.
Enums§
- Builtin
- A built-in playlist: every user has one of each, made by the server, never renamed, re-kinded, shared or deleted. Music only.
- Item
Kind - An item’s kind, as
KindNotAllowednames the one refused. - Liked
- A heart: whether an item is in the user’s Liked. A track’s is
AllorNone; an album’s isAllwhen every track it has now is liked,Somewhen some are,Nonewhen none are. - PinNote
Reason - Playlist
Edit - One change to a playlist’s entries (
EditPlaylist). - Playlist
Owner Kind - How a playlist stands to whoever asks: what a client lists its playlists apart by.
- Repeat
- What plays again.
- User
Kind - Whose account a user is (
spoolframe:playlist-sharing). - Visibility
- Who sees a playlist, as whoever manages it sets it.
Constants§
- MAX_
ART_ BYTES - The largest cover a
SetPlaylistArttakes, in bytes: past it,ImageTooLarge, and the bytes are not read. - MAX_
ART_ PIXELS - The most pixels a cover may have: past it,
ImageTooLarge, from the picture’s header, before it is decoded.
Type Aliases§
- EntryId
- One place in a playlist. Never reused, in any playlist.