Turn on the keyboard controls with the -C switch, and play a song from your hard drive:
Code: Select all
mpg123 -C /home/weirdo/music/my_song.mp3
Code: Select all
mpg123 -b 3000 -Q http://url.to/stream.m3u
Code: Select all
# mpg123 eq
# Rock
#
1 1
1 1
0.9 0.9
0.9 0.9
0.8 0.8
0.7 0.7
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
0.3 0.3
0.2 0.2
0.2 0.2
0.3 0.3
0.3 0.3
0.2 0.2
0.2 0.2
0.3 0.3
0.5 0.5
0.5 0.5
0.5 0.5
0.7 0.7
0.7 0.7
0.8 0.8
0.8 0.8
0.8 0.8
1 1
1 1
1 1
1 1
1 1
1 1
Code: Select all
mpg123 -C -E ~/rock.eq /home/weirdo/fav_porn/Rock_&_Roll_MILF.mp3
Some frontends:
playmp3 - lists all music files (that contain STRING if given as option)
http://www.linuxbbq.org/bbs/viewtopic.php?f=15&t=2038
mp3player - simple frontend for playmp3 using dialog
Code: Select all
#!/bin/bash
. /usr/share/doc/dialog/examples/setup-vars
. /usr/share/doc/dialog/examples/setup-tempfile
MP3LIST=~/.mp3list
printf '%s\n' **/*.mp3 > $MP3LIST
while true
do
ar=()
while read n s ; do
ar+=($n "$s")
done < $MP3LIST
dialog --clear --menu "mp3player" 0 0 0 "${ar[@]}" 2> $tempfile
retval=$?
case $retval in
$DIALOG_CANCEL)
exit 0;;
esac
mpg123 -C -q `cat $tempfile`
done