Diff for mplayer streaming FAQ

Brett <[email protected]>
Newsgroups gmane.os.openbsd.www
Message-ID <[email protected]>
Hi Nick and www,

Mplayer radio streaming works better (ie keeps playing forever) with the -loop 0 option, which will reconnect if the stream is lost and then comes back, and also with some streams when the playlist changes to the next song/program.

OK?




Index: www/faq/faq13.html
===================================================================
RCS file: /cvs/www/faq/faq13.html,v
retrieving revision 1.142
diff -u -r1.142 faq13.html
--- www/faq/faq13.html	1 May 2012 14:39:46 -0000	1.142
+++ www/faq/faq13.html	10 May 2012 01:22:22 -0000
@@ -1562,14 +1562,14 @@
 Continuing the example:
 
 <blockquote><pre>
-$ <strong>mplayer http://mp3.streampower.be/radio1-mid.mp3</strong>
+$ <strong>mplayer -loop 0 http://mp3.streampower.be/radio1-mid.mp3</strong>
 </pre></blockquote>
 
 <li>Optionally, you may want to make it a little easier by including an
 alias in your <tt>.profile</tt>:
 
 <blockquote><pre>
-alias radio1='mplayer http://mp3.streampower.be/radio1-mid.mp3'
+alias radio1='mplayer -loop 0 http://mp3.streampower.be/radio1-mid.mp3'
 </pre></blockquote>
 
 </ul>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.