From XMMS2
Contents |
Playback control
| Action | XMMS2 | MPD | BMPx |
|---|---|---|---|
| Playback Start | playback_start | play | PlayCurrent |
| Playback Stop | playback_stop | stop | PlayStop |
| Playback Pause | playback_pause | pause | PlayPause |
| Playback Seek Milliseconds | playback_seek_ms | ||
| Playback Seek Seconds | seek/seekid | Seek | |
| Playback Seek Samples | playback_seek_samples | ||
| Start playback of playlist item # | playlist_set_next && playback_tickle && playback_start | play | PlayTrack |
Playlist control
| Action | XMMS2 | MPD | BMPx |
|---|---|---|---|
| Playlist Add URL | playlist_add | ||
| Playlist Add From Library | playlist_add_id | add/addid | |
| Playlist Add Multiple | AddUriList | ||
| Playlist Add Recursive | playlist_radd | ||
| Playlist Remove | playlist_remove | delete | |
| Playlist Remove Multiple | TracklistRemoveItems | ||
| Playlist Remove all with ID | deleteid | ||
| Playlist Save (to URL) | medialib_playlist_save_current && medialib_playlist_export | ExportTracklist? | |
| Playlist Load (from URL) | medialib_playlist_import && medialib_playlist_load | (AddUriList) | |
| Playlist Next | playlist_set_next_rel && playback_tickle | next | PlayNext |
| Playlist Previous | playlist_set_next_rel && playback_tickle | previous | PlayPrev |
| Playlist Set Next | playlist_set_next | ||
| Playlist Set Next Relative | playlist_set_next_rel | ||
| Playlist go to Next | playback_tickle | (implicit in next) | (implicit in PlayNext) |
| Playlist Clear | playlist_clear | clear | |
| Playlist Insert URL | playlist_insert | (AddUriList) | |
| Playlist Insert From Library | playlist_insert_id | ||
| Playlist List | playlist_list | playlistinfo/playlistid | |
| Playlist Move | playlist_move | move/moveid | |
| Playlist Shuffle (modifies playlist) | playlist_shuffle | shuffle | |
| Playlist Shuffle (play in shuffle order) | random | ShuffleSet/ShuffleGet | |
| Playlist Sort | playlist_sort | ||
| Playlist Diff | plchanges | ||
| Playlist Swap | swap/swapid | ||
| Playlist Repeat All | configval_set | repeat | |
| Playlist Repeat One | configval_set |
Current information
| Action | XMMS2 | MPD | BMPx |
|---|---|---|---|
| Info Playtime | playback_playtime | status | |
| Info Playback Status | playback_status | status | SendStatus? |
| Info Current ID | playback_current_id | currentsong | |
| Info Playlist Position | playlist_current_pos | status | |
| Info Current Song | medialib_get_info(playback_current_id) | currentsong |
Configuration control
| Action | XMMS2 | MPD | BMPx |
|---|---|---|---|
| Config Property Get | configval_get | ||
| Config Property Set | configval_set | ||
| Config Property List | configval_list | ||
| Config Property Register | configval_register |
Library control
| Action | XMMS2 | MPD | BMPx |
|---|---|---|---|
| Library Add Entry (URL) | medialib_add_entry | ||
| Library Add To Playlist (query) | medialib_add_to_playlist | ||
| Library Get ID (of URL) | medialib_get_id | ||
| Library Get Info (of ID) | medialib_get_info | ||
| Library Import Metadata | medialib_path_import | (implicit in starting MPD) | |
| Library Export Playlist | medialib_playlist_export | save | |
| Library Import Playlist | medialib_playlist_import | ||
| Library Load Playlist | medialib_playlist_load | load | |
| Library Save Current Playlist | medialib_playlist_save_current | save | |
| Library Remove Playlist | medialib_playlist_remove | rm | |
| Library List Playlists | medialib_playlists_list | lsinfo (returns info about dirs as well) | |
| Library Rehash | medialib_rehash | update | |
| Library Query | medialib_select | ||
| Library Find | medialib_select | find/search | |
| Library List Key Values of Type | medialib_select (depends on query) | list | |
| Library List All Files | listall (recursive) | ||
| Library List All Files with Info | listallinfo (recursive) |
Session control
| Action | XMMS2 | MPD | BMPx |
|---|---|---|---|
| Connect | connect | (socket connection sufficient) | |
| Connect with Password | connect | password | |
| Ping | ping | ||
| Daemon quit | quit | kill | |
| End Session | close |
Signals
| Action | XMMS2 | MPD | BMPx |
|---|---|---|---|
| Signal Config Property Change | broadcast_configval_changed | ||
| Signal Library Entry Change | broadcast_medialib_entry_changed | ||
| Signal Playlist Loaded from Library | broadcast_medialib_playlist_loaded | ||
| Signal Current Stream ID | broadcast_playback_current_id | ||
| Signal Playback Status Change | broadcast_playback_status | ||
| Signal Playlist Change | broadcast_playlist_changed | ||
| Signal Playlist Position Change | broadcast_playlist_current_pos | ||
| Signal Playtime | signal_playback_playtime | ||
| Signal Visualisation | signal_visualisation_data |
I/O control
| Action | XMMS2 | MPD | BMPx |
|---|---|---|---|
| IO Loop | loop | ||
| IO Exit Loop | exit_loop | ||
| IO In | ioin | ||
| IO Out | ioout | ||
| IO Get FD | get_fd |
Output control
| Action | XMMS2 | MPD | BMPx |
|---|---|---|---|
| Output Disable | disableoutput | ||
| Output Enable | enableoutput | ||
| Mute (Output enable/disable toggle) | |||
| Output Info | outputs | ||
| Output Crossfade | crossfade | ||
| Output Set Volume | playback_volume_set | setvol | |
| Output Get Volume | playback_volume_get | status |
Binary data storage
| Action | XMMS2 | MPD | BMPx |
|---|---|---|---|
| Data Store | bindata_store | ||
| Data Remove | bindata_remove | ||
| Data Get | bindata_retrieve |
Other
| Action | XMMS2 | MPD | BMPx |
|---|---|---|---|
| Plugin List | plugin_list | ||
| Clear Error | clearerror | ||
| Commandlist | commands | ||
| Denied Commandlist | notcommands |

