[TriLUG] Repeating the playlist in mplayer?

Steve Litt slitt at troubleshooters.com
Wed Dec 5 10:56:40 EST 2007


Hi all,

I've created a CLI front end for mplayer, and it works very nicely in every 
respect except one: I cannot get mplayer to automatically repeat the playlist 
after the last song on the playlist completes. Does anyone know how I do 
that?

Because mplayer is operated in slave mode, I can't put keystrokes into 
mplayer, but I CAN change its config file, and I CAN inject slave mode 
commands. Here's a document discussing slave mode:

http://www.mplayerhq.hu/DOCS/tech/slave.txt

A slave mode command would probably be the easiest for me, but I can't find a 
proper command. If anyone has any idea how to make the playlist repeat over 
and over again, please let me know. By the way, this didn't work for me:

echo loop 20 > /d/bats/steve.fifo

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/



More information about the TriLUG mailing list