Skip to content

Instantly share code, notes, and snippets.

@XayOn
Created October 30, 2012 12:40
Show Gist options
  • Save XayOn/3979955 to your computer and use it in GitHub Desktop.
Save XayOn/3979955 to your computer and use it in GitHub Desktop.
shell-fm configuration file
# This makes shell-fm download everything in ~/Music/<artist>-<title>.mp3
# Then plays it with mplayer and software volume mixer, thus making volumne 10 times louder than usual max.
extern=tee ~/Music/%a-%t.mp3 | mplayer -really-quiet -softvol -softvol-max 1000 -volume 1000 -noconsolecontrols -demuxer lavf -lavfdopts format=mp3 -
np-cmd = lyricsdownloader --artist "%a" --songname "%t" 2> /dev/null > /tmp/lyrics.txt
# Then I execute a tail -f /tmp/lyrics.txt on another tmux split
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment