mpd
Music Player Daemon. server-client architecture.
mpd.conf
You can specify audio output type and device in /etc/mpd.conf. Various types are available including http streaming. This is example for 2nd alsa device.
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:1,0"
}
mpc
command line interface of mpd
option
-h <host> # specify server
subcommands
play
pause
next
prev
consume [on|off]
ls <directory> # lists all files in directory
listall <file> # lists all files
add <file> # add file to queue
clear # empty the queue
search <type> <query> # for example: $ mpc search filename ENYA
find <type> <query> # similar to search. but match exactly
list <type> # shows a list of all tags of type
update <path> # scans for updated files in the path
lsplaylists # lists available playlists
playlist <playlist name> # lists all songs in playlist
rm <playlist> # remove playlist
save <playlist> # save playlist
load <playlist> # load <playlist> in the queue
We can load m3u or cue files in a music directory as playlist. The file path in a playlist should be relative path from the playlist. M3U can be extended M3U.
mpc load <subdir in music dir>/<any subdir>/playlistfile ; mpc playlist
client for android
client for iOS
Add-on of KODI formerly known as XBMC. If HDMI-CEC is enabled on your monitor device, you can controll MPD with your remote controller.