|
pianod2
multisource multiuser scriptable networked music player
|
Store and maintain mixes and perform autotuning. More...
Classes | |
| struct | PlaylistSummary |
| A structure used for autotuning calculations. More... | |
| struct | AutotuneSettings |
| Autotuning mode and parameters, defining which users to consider and how to decide whether a playlist is included or excluded from the mix. More... | |
| class | Tuner |
| Tuner maintains a set of playlists and their inclusion or exclusion from the current mix, and can push it to the sources on demand (before getting random songs); this allows multiple mixes to exist. More... | |
Enumerations | |
| enum class | PlaylistDetailLevel { NAME , DETAIL } |
| enum class | AutotuneConsiders { LOGIN , FLAG , ALL } |
| enum | TUNERCOMMAND { MIXINCLUDED = CMD_RANGE_TUNING , MIXEXCLUDED , MIXADJUST , PLAYLISTLIST , AUTOTUNESETMODE , AUTOTUNEGETMODE , SELECTIONMETHOD } |
Functions | |
| const Parsnip::OptionParser::Definitions & | autotuning_option_parser_definitions () |
| void | interpret_autotune_options (const Parsnip::Data &options, AutotuneSettings *dest) |
| Interpret options into the AutotuneSettings structure. More... | |
| const Parsnip::Parser::Definitions & | parser_definitions () |
| const PianodSchema::CommandIds & | json_request_names () |
| Retrieve names for our JSON requests. More... | |
| static ResponseCollector | sendPlaylistList (PlaylistList &list, PlaylistDetailLevel format) |
| Send a list of playlists. More... | |
Variables | |
| const LookupTable< PlaylistDetailLevel > | PlaylistDetailLevels |
| Text to enumeration values for detail level in playlist lists. More... | |
| static const LookupTable< AutotuneConsiders > | AutotuneConsiderLookup ({ { "login", AutotuneConsiders::LOGIN }, { "flag", AutotuneConsiders::FLAG }, { "all", AutotuneConsiders::ALL } }) |
Store and maintain mixes and perform autotuning.
|
strong |
|
strong |
| enum Tuner::TUNERCOMMAND |
| const Parsnip::OptionParser::Definitions & Tuner::autotuning_option_parser_definitions | ( | ) |
Parse definitions for the parameter parser

| void Tuner::interpret_autotune_options | ( | const Parsnip::Data & | options, |
| AutotuneSettings * | dest | ||
| ) |
Interpret options into the AutotuneSettings structure.


| const PianodSchema::CommandIds & Tuner::json_request_names | ( | ) |
Retrieve names for our JSON requests.

| const Parsnip::Parser::Definitions & Tuner::parser_definitions | ( | ) |

|
static |
Send a list of playlists.
| list | The list to send. |
| long_format | If true, send playlist details. If false, send names only. |


|
static |
| const LookupTable<PlaylistDetailLevel> Tuner::PlaylistDetailLevels |
Text to enumeration values for detail level in playlist lists.