Skip to main content

Module preferences

Module preferences 

Source
Expand description

How a viewer wants tracks chosen. Kept per user on the server, so a TV and a laptop choose the same.

Structs§

AudioPreferences
RecentlyPlayedPreferences
How each kind shows in a user’s Home “Recently played” row, kept on the server for every device of theirs (RecentlyPlayedPreferences and SetRecentlyPlayedPreferences in spoolframe-protocol). It only changes what the row shows: every play is recorded and counted whatever it says. Every field is required on the wire.
SubtitlePreferences
TrackPreferences
Every field is required on the wire: a peer that leaves one out is refused, not filled in.

Enums§

BitmapPreference
How a viewer wants picture subtitles shown: read as text by the server, so any device shows them styled and sized, or as the pictures they are.
ForcedPreference
What to do with forced subtitles (only the parts in another language: signs, a foreign line) in a subtitle search’s results: the same four ways as SdhPreference.
RecentMoviesMode
How the user’s films show in Home’s “Recently played” row.
RecentMusicMode
How the user’s music shows in Home’s “Recently played” row.
RecentShowsMode
How the user’s shows show in Home’s “Recently played” row.
SdhPreference
What to do with subtitles for the deaf and hard of hearing: in playback, which track is chosen; in a subtitle search, the results’ order, or which are listed at all.
SubtitleMode
When subtitles are shown.

Constants§

DEVICE_LANGUAGE
A language code that stands for the device’s language: the one the connection’s Hello.language says, at each choosing. Kept as it is, so a viewer’s one setting means each of their devices’ own language. Left out where the client says none.
ORIGINAL_LANGUAGE
A language code that stands for the item’s original language: the language of the file’s default audio track.