2011年 09月 24日 土曜日 20:24
Music Player Daemon and Client: MPD and MPC
http://www.musicpd.org
GUI Player: Gnome Music Player Client
http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client
Scrobbler: scmpc
http://cmende.github.com/scmpc/
$ mkdir ~/.scmpcedit ~/.scmpc/scmpc.conf
$ touch ~/.scmpc/scmpc.cache
$ cp /usr/share/doc/scmpc-*/scmpc.conf.example ~/.scmpc/scmpc.conf
$ echo -n "password" | md5sum >> ~/.scmpc/scmpc.conf
log_file = "~/.scmpc/scmpc.log"start script ~/bin/mpd.sh
pid_file = "~/.scmpc/scmpc.pid"
cache_file="~/.scmpc/scmpc.cache"
mpd {
host = "localhost"
port = 6600
timeout = 5
interval = 10
}
audioscrobbler {
username = "your username"
password_hash = "your md5sum hash"
}
#!/bin/shrun
case $1 in
start)
mpd
scmpc
;;
stop)
mpd –kill
scmpc –kill
;;
esac
$ chmod 700 ~/bin/mpd.shplay music
$ ~/bin/mpd.sh start
$ mpc playOtherwise player: ncmpc, sonata, ario, xfmpc, etc…
Have fun!