dannyman.toldme.com


FreeBSD, Technical

HOWTO: Play random mp3s with mpg123

Assuming your mp3 collection is in $HOME/mp3s:

find $HOME/mp3s -name '*.mp3' | mpg123 -Z -@ -

The find command generates a list of .mp3 files in your $HOME/mp3s, and that mpg123 command says play songs randomly (-Z) from the list (-@) that I am feeding you via stdin. (-@ -)

To skip a song you are not enjoying, press control-C.

-d

Read More

Next:
Previous:
Categories: FreeBSD, Technical
Possibly-Related Posts

Comment

Leave a comment . . .

Tiny Print:

  1. For private messages, e-mail me: dannyman@toldme.com.
  2. You must provide an e-mail address.
  3. You can use a bogus e-mail address, but I like to know who you are.
  4. I will not spam you. I will not publish or share your e-mail address.
  5. First-time commenters will be held for review.
  6. You can use these HTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>