[−][src]Module mpdpopm::messages
messages
Process incoming messages to the mpdpopm daemon.
Introduction
The mpdpopm daemon accepts commands over a dedicated channel. It also provides for a generalized framework in which the mpdpopm administrator can define new commands backed by arbitrary command execution server-side.
Commands
The following commands are built-in:
- ratings: "rate RATING( TRACK)?"
- set playcount: "setpc PC( TRACK)?"
- set lastplayed: "setlp TIMEESTAMP( TRACK)?"
There is no need to provide corresponding accessors since this functionality is already provided via "sticker get". Dedicated accessors could provide the same functionality with slightly more convenience since the sticker name would not have to be specified (as with "sticker get") & may be added at a later date.
Additional commands may be added through the generalized command feature.
Structs
MessageProcessor | Collective state needed for processing messages, both built-in & generalized |
Enums
Error |
Functions
tokenize | Break [ |
Type Definitions
Result |