Sept. 3, 2008

Tipp: Now Playing with MPD

a convenient way to get "now playing" information from MPD can be achieved by this little script:


  • xclip
  • mpc (the official mpd commandline client)
  • notify-send (from libnotify-bin)
mpc|head -n1|xclip
notify-send -t 2500 "now playing" "`xclip -o`"
The Script copies the current "artist - track" to the clipboard and displays it as passive popup:

Kategorien: Software
Tagged: Tipps english now playing music MPD mpc notifiy-send Script

0 Kommentare