Expand description
Home’s “Recently played” row (feature spoolframe:recently-played-row):
one row of every kind, each card once at its latest counted play.
A client says where it started a track (PlaySource) as it starts
the playback (StartPlayback.source) or records a play made offline
(OfflinePlay.source). The field needs no feature: a server that does
not know it ignores it. The server keeps it with the play, and
RecentlyPlayedRow answers cards (RecentCard) by it and by the
user’s RecentlyPlayedPreferences: for music, a play from a
playlist shows the playlist, one from an album the album, and a track
queued by hand the track; shows by show, season or episode; films each
their own. The preferences only change what the row shows: every play
is recorded and counted whatever they say.
Structs§
- Recently
Played Preferences - How each kind shows in a user’s Home “Recently played” row, kept on
the server for every device of theirs (
RecentlyPlayedPreferencesandSetRecentlyPlayedPreferencesinspoolframe-protocol). It only changes what the row shows: every play is recorded and counted whatever it says. Every field is required on the wire.
Enums§
- Play
Source - Where a track’s play was started.
- Recent
Card - One card of Home’s “Recently played” row. A film, an episode or a track has its watch state and play count filled.
- Recent
Movies Mode - How the user’s films show in Home’s “Recently played” row.
- Recent
Music Mode - How the user’s music shows in Home’s “Recently played” row.
- Recent
Shows Mode - How the user’s shows show in Home’s “Recently played” row.
Constants§
- MAX_ROW
- The most cards a
RecentlyPlayedRowanswers.