pianod2
multisource multiuser scriptable networked music player
Classes | Namespaces | Enumerations | Functions | Variables
tuner.h File Reference

Playlist "tuner". More...

#include <config.h>
#include <unordered_map>
#include <functional>
#include "callback.h"
#include "fundamentals.h"
#include "interpreter.h"
#include "musictypes.h"
#include "retainer.h"
Include dependency graph for tuner.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Tuner::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
 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...
 
struct  Tuner::Tuner::MixItem
 
struct  Tuner::Tuner::Callbacks
 

Namespaces

 Tuner
 Store and maintain mixes and perform autotuning.
 

Enumerations

enum class  CartsVerb {
  CLEAR , ADD , REMOVE , TOGGLE ,
  SET
}
 Verb possibilities for inclusion/exclusion (CARTS) actions. More...
 
enum  Tuner::TUNERCOMMAND {
  Tuner::MIXINCLUDED = CMD_RANGE_TUNING , Tuner::MIXEXCLUDED , Tuner::MIXADJUST , Tuner::PLAYLISTLIST ,
  Tuner::AUTOTUNESETMODE , Tuner::AUTOTUNEGETMODE , Tuner::SELECTIONMETHOD
}
 

Functions

const Parsnip::Parser::DefinitionsTuner::parser_definitions ()
 
const PianodSchema::CommandIdsTuner::json_request_names ()
 Retrieve names for our JSON requests. More...
 
const Parsnip::OptionParser::DefinitionsTuner::autotuning_option_parser_definitions ()
 

Variables

const LookupTable< CartsVerbCartsWord
 Lookup table for inclusion/exclusion (CARTS) actions. More...
 

Detailed Description

Playlist "tuner".

Manages the playlists included in a mix.

Enumeration Type Documentation

◆ CartsVerb

enum CartsVerb
strong

Verb possibilities for inclusion/exclusion (CARTS) actions.

Enumerator
CLEAR 
ADD 
REMOVE 
TOGGLE 
SET 

Variable Documentation

◆ CartsWord

const LookupTable<CartsVerb> CartsWord
extern

Lookup table for inclusion/exclusion (CARTS) actions.

Lookup table for inclusion/exclusion (CARTS) actions.