How to repeat playing mp3 with mpg123

lacalling lacalling at gmail.com
Mon Mar 2 06:55:31 PST 2009


Since mpg123 does not support repeat model, i tried to write a script to
play mp3 repeatedly.

I tried bash like this
  for((;;))
  do
           mpg123 [mp3] &
 done
but it keeps running new mpg123 in background .

but mpg123 [mp3]  in foreground cant be terminated by control C

Could anyone provide more ideas.
thank you.


More information about the freebsd-questions mailing list