Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I usually play songs on mplayer through terminal. However, I don't know to put a song on repeat - as I want to listen to a particular song again and again.

How to put a single song/set of songs on repeat?

share|improve this question
    
Are you married to mplayer? I use mpg321 which can do this with the -z and -Z flags. Otherwise, use a while-loop? –  gerrit Jul 16 '12 at 14:56
add comment

1 Answer

Try:

mplayer -loop <repeat count>

Setting count to zero (-loop 0), should repeat it infinitely.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.