scmpc scrobbler

RSS
Recomendar

Set 25 2011, 0h24

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 ~/.scmpc
$ touch ~/.scmpc/scmpc.cache
$ cp /usr/share/doc/scmpc-*/scmpc.conf.example ~/.scmpc/scmpc.conf
$ echo -n "password" | md5sum >> ~/.scmpc/scmpc.conf

edit ~/.scmpc/scmpc.conf
log_file = "~/.scmpc/scmpc.log"
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"
}

start script ~/bin/mpd.sh
#!/bin/sh
case $1 in
start)
mpd
scmpc
;;
stop)
mpd --kill
scmpc --kill
;;
esac

run
$ chmod 700 ~/bin/mpd.sh
$ ~/bin/mpd.sh start

play music
$ mpc play
Otherwise player: ncmpc, sonata, ario, xfmpc, etc...
Have fun!
Envios aceitos
Linux, Gentoo
Envios pendentes
mpd, Gnome, Vine Linux

Comentários

Deixe um comentário. Faça login na Last.fm ou cadastre-se agora (é gratuito).