![]() |
pianod2
multisource multiuser scriptable networked music player
|
Pandora source, player and related datatype specializations. More...
Namespaces | |
Key | |
Classes | |
class | Advert |
class | AdvertPlayedNotification |
class | Artist |
Class for Pandora artists. Constructed from annotations. More... | |
class | ArtistSeed |
A artist contructed from station seed information. More... | |
class | ArtistSuggestion |
An artist contructed from search results. More... | |
class | AuthorizationRequest |
Pandora login request. More... | |
class | Communication |
Pandora communication class. More... | |
struct | ConnectionParameters |
Pandora connection and source settings. More... | |
class | GenreSeed |
A class for Pandora genre seeds. More... | |
class | GenreSuggestion |
A genre constructed from a suggestion. More... | |
struct | JSONProtocolParameters |
class | Library |
class | MixEverythingStation |
Class representing a mix of all of a user's Pandora stations. More... | |
class | Notification |
Pandora request class. A request whose response is empty/unimportant. More... | |
class | PartnerLoginRequest |
class | PlayableSong |
Playable song: a song with playback information. More... | |
class | QuickMixStation |
Class representing the Pandora quick mix station. More... | |
class | Request |
Pandora request class. More... | |
class | RequestAddFeedback |
Pandora message: Provide feedback for a song that has played on a station. More... | |
class | RequestAddStationSeed |
Pandora message: Add or remove station seeds. More... | |
class | RequestAddTiredSong |
Pandora message: Provide feedback for a song on a station. More... | |
class | RequestCreateStation |
Pandora message: create a station. More... | |
class | RequestDeleteFeedback |
Pandora message: Remove feedback for a song on a station. More... | |
class | RequestGenreStationList |
Pandora message: Retrieve station list. More... | |
class | RequestQueueTracks |
Pandora message: Retrieve list of music to play from a station. More... | |
class | RequestRemoveStation |
Pandora message: delete a station. More... | |
class | RequestRemoveStationSeed |
Pandora message: Add or remove station seeds. More... | |
class | RequestRenameStation |
Pandora message: rename a station. More... | |
class | RequestStationDetails |
Pandora message: Retrieve station seeds. More... | |
class | RequestStationList |
Pandora message: Retrieve station list. More... | |
class | RequestStationListChecksum |
Pandora message: Retrieve station list. More... | |
class | RequestTransformStation |
Pandora message: transform a shared station into a personal station. More... | |
class | RequestWithNoData |
Pandora request class. A request whose response is empty/unimportant. More... | |
class | RetrieveAdvert |
class | SearchRequest |
class | SetQuickMixStations |
Pandora message: set quickmix stations. More... | |
class | SkipTracker |
A class to manage Pandora skips. More... | |
class | Song |
Class for Pandora songs. Constructed from annotations. More... | |
class | SongRating |
A song that contains rating information. More... | |
class | SongSeed |
A song contructed from station seed information. More... | |
class | SongSuggestion |
A song constructed from a suggestion. More... | |
class | Source |
class | Station |
class | StationDefinitionDetails |
class | StationLookup |
Station lookup. More... | |
class | UserFeatures |
Typedefs | |
using | StationList = RetainedList< Station * > |
Functions | |
const std::string | status_strerror (Status status) |
Return a string corresponding to a Pandora communication status. More... | |
static constexpr RequestOption | operator& (const RequestOption a, const RequestOption b) |
static constexpr RequestOption | operator| (const RequestOption a, const RequestOption b) |
static Rating | rounded_rating (const Rating rating) |
Round the value to Pandora's thumbs. More... | |
std::string | pandora_to_music_id (const std::string &musicId) |
Variables | |
static const std::unordered_map< Status, std::string > | pandora_errors |
static const int | MinimumCacheMargin = 100 |
const LookupTable< ProtocolNature > | ProtocolNatureLookup ({ { "PandoraPlus", ProtocolNature::PANDORAPLUS }, { "PandoraOne", ProtocolNature::PANDORAPLUS }, { "PandoraPremium", ProtocolNature::PANDORAPREMIUM }, { "Standard", ProtocolNature::STANDARD }, { "Automatic", ProtocolNature::AUTOMATIC }, { "Custom", ProtocolNature::CUSTOM }, { "Plus", ProtocolNature::PANDORAPLUS }, { "Premium", ProtocolNature::PANDORAPREMIUM }}) |
Name to enum translation for Pandora connection parameters. More... | |
const int | StationListCacheTime = 1800 |
const int | StationDetailCacheTime = 10000 |
const Rating | ThumbsDown = Rating::POOR |
Rating value for negative Pandora feedback. More... | |
const Rating | ThumbsUp = Rating::GOOD |
Rating value for positive Pandora feedback. More... | |
Pandora source, player and related datatype specializations.
using Pandora::StationList = typedef RetainedList<Station *> |
|
strong |
|
strong |
|
strong |
Communication completion statuses.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
std::string Pandora::pandora_to_music_id | ( | const std::string & | musicId | ) |
Round the value to Pandora's thumbs.
CommandError/unsupported | media value if an inappropriate rating. |
const std::string Pandora::status_strerror | ( | Status | status | ) |
Return a string corresponding to a Pandora communication status.
status | The communication status. |
|
static |
|
static |
const LookupTable<ProtocolNature> Pandora::ProtocolNatureLookup({ { "PandoraPlus", ProtocolNature::PANDORAPLUS }, { "PandoraOne", ProtocolNature::PANDORAPLUS }, { "PandoraPremium", ProtocolNature::PANDORAPREMIUM }, { "Standard", ProtocolNature::STANDARD }, { "Automatic", ProtocolNature::AUTOMATIC }, { "Custom", ProtocolNature::CUSTOM }, { "Plus", ProtocolNature::PANDORAPLUS }, { "Premium", ProtocolNature::PANDORAPREMIUM }}) |
Name to enum translation for Pandora connection parameters.
const int Pandora::StationDetailCacheTime = 10000 |
const int Pandora::StationListCacheTime = 1800 |
const Rating Pandora::ThumbsDown = Rating::POOR |
Rating value for negative Pandora feedback.
const Rating Pandora::ThumbsUp = Rating::GOOD |
Rating value for positive Pandora feedback.