Constant human-readable messages used within playd. More...
#include <string>
Go to the source code of this file.
Macros | |
#define | PD_VERSION "0.0.0" |
Variables | |
const std::string | MSG_OHAI_PLAYD = "playd-" PD_VERSION |
The playd name and version. | |
const std::string | MSG_OHAI_BIFROST = "bifrost-0.3.0" |
The protocol name and version. | |
const std::string | MSG_CMD_SHORT |
Message shown when the CommandHandler receives an under-length command. More... | |
const std::string | MSG_CMD_INVALID = "Bad command or file name" |
Message shown when the CommandHandler receives an invalid command. | |
const std::string | MSG_CMD_NEEDS_LOADED = "Command requires a loaded file" |
Message shown when a command that works only when a file is loaded is fired when there isn't anything loaded. | |
const std::string | MSG_CMD_NEEDS_PLAYING = "Command requires a playing file" |
Message shown when a command that works only when a file is playing is fired when there isn't anything playing. | |
const std::string | MSG_CMD_NEEDS_STOPPED = "Command requires a stopped file" |
Message shown when a command that works only when a file is stopped is fired when there isn't anything stopped. | |
const std::string | MSG_CMD_PLAYER_CLOSING = "Server is closing" |
Message shown when a command is sent to a closing Player. | |
const std::string | MSG_DECODE_BADRATE = "Unsupported or invalid sample rate" |
Message shown when a bad sample rate is found. | |
const std::string | MSG_DEV_BADID = "Incorrect device ID" |
Message shown when an incorrect device ID is provided. | |
const std::string | MSG_LOAD_EMPTY_PATH = "Empty file path given" |
Message shown when one tries to Load an empty path. | |
const std::string | MSG_OUTPUT_RINGWRITE = "Ring buffer write error" |
Message shown when there is an error writing to the ring buffer. | |
const std::string | MSG_OUTPUT_RINGINIT = "Ring buffer init error" |
Message shown when there is an error initialising the ring buffer. | |
const std::string | MSG_SEEK_FAIL = "Seek failed" |
Message shown when an attempt to seek fails. | |
const std::string | MSG_SEEK_INVALID_VALUE = "Invalid time: try integer" |
Message shown when a seek command has an invalid time value. | |
const std::string | MSG_NOT_FOUND = "not found" |
Message shown when a command is called with a missing resource. | |
const std::string | MSG_INVALID_PAYLOAD = "cannot write this value" |
Message shown when an invalid payload is supplied for writing. | |
const std::string | MSG_INVALID_ACTION = "cannot perform this action" |
Message shown when we try to write/delete to something we can't. | |
const std::string | MSG_IO_CANNOT_ALLOC = "cannot allocate I/O object" |
Message shown when allocating an IO object fails. | |
const std::string | MSG_TOO_MANY_CONNS = "too many simultaneous connections" |
Message shown when too many simultaneous connections are launched. | |
Constant human-readable messages used within playd.
Definition in file messages.h.
const std::string MSG_CMD_SHORT |
Message shown when the CommandHandler receives an under-length command.
Definition at line 32 of file messages.h.
Referenced by Connection::RunCommand().