Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 22:55:29 +0800
From:      lacalling <lacalling@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   How to repeat playing mp3 with mpg123
Message-ID:  <de8d0ce00903020655x4993f340p3dc7bebe8a8614fb@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?de8d0ce00903020655x4993f340p3dc7bebe8a8614fb>