<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Preview Release Shoutcast / Internet Radio Application</title>
	<atom:link href="http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/feed" rel="self" type="application/rss+xml" />
	<link>http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/.</link>
	<description>Homepage for the WDTV Tools for the Western Digital TV HD</description>
	<lastBuildDate>Sun, 07 Mar 2010 22:30:40 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jose</title>
		<link>http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/.#comment-179</link>
		<dc:creator>Jose</dc:creator>
		<pubDate>Wed, 24 Feb 2010 14:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://wdtv.elmarweber.org/?p=19#comment-179</guid>
		<description>Hello:

Thank you so much for your help.

I have coded a simple script which is continuously ripping into a file called radio.mp3 for about 5 minutes and then rewrites the file. I run the command and a few minutes later I can start listening to the radio through the UI by browsing by Folder and going to Music/Radio/radio.mp3. While listening the file will get deleted (by the ripper) and will start with the next 5-minutes-loop. In the UI things run smoothly since the original file is buffered and you never notice the file no longer exists until you reach the end of the file (very important, the continuous loop option has to be enabled in the UI). This way I get a (sort of) continuous streaming.

Here the script (not perfect but works):

#!/opt/bin/bash

if [[ $# -lt 2 ]]; then
  echo &quot;Usage: stream.sh  &quot;
  exit
fi

if [[ -d /tmp/media/usb/Radio ]]; then
  echo &quot;Do Nothing&quot;
else
  echo &quot;Creating dir...&quot;
  mkdir /tmp/media/usb/Radio
fi

if [[ $1 == &quot;pop1&quot; ]]; then
  radio=http://scfire-ntc-aa07.stream.aol.com:80/stream/1074
elif [[ $1 == &quot;pop2&quot; ]]; then
  radio=http://scfire-ntc-aa03.stream.aol.com:80/stream/1051
elif [[ $1 == &quot;chill&quot; ]]; then
  radio=http://scfire-ntc-aa07.stream.aol.com:80/stream/1018
fi

rm -f /tmp/media/usb/Radio/*.mp3
rm -f /tmp/media/usb/Radio/*.cue

index=0
while [ $index -lt $2 ]
do
  echo &quot;Loop $index&quot;
 
  streamripper $radio -A -a /tmp/media/usb/Radio/radio.mp3 -l 300
  rm -f /tmp/media/usb/Radio/*.mp3
  rm -f /tmp/media/usb/Radio/*.cue

  index=$[$index+1]
done

I have created a file in the root of my hard drive called stream.sh and I just call it through the terminal by running: /tmp/media/usb/USB1//stream.sh [pop01&#124;pop02&#124;chill] 

I hope this is useful to somebody</description>
		<content:encoded><![CDATA[<p>Hello:</p>
<p>Thank you so much for your help.</p>
<p>I have coded a simple script which is continuously ripping into a file called radio.mp3 for about 5 minutes and then rewrites the file. I run the command and a few minutes later I can start listening to the radio through the UI by browsing by Folder and going to Music/Radio/radio.mp3. While listening the file will get deleted (by the ripper) and will start with the next 5-minutes-loop. In the UI things run smoothly since the original file is buffered and you never notice the file no longer exists until you reach the end of the file (very important, the continuous loop option has to be enabled in the UI). This way I get a (sort of) continuous streaming.</p>
<p>Here the script (not perfect but works):</p>
<p>#!/opt/bin/bash</p>
<p>if [[ $# -lt 2 ]]; then<br />
  echo &#8220;Usage: stream.sh  &#8221;<br />
  exit<br />
fi</p>
<p>if [[ -d /tmp/media/usb/Radio ]]; then<br />
  echo &#8220;Do Nothing&#8221;<br />
else<br />
  echo &#8220;Creating dir&#8230;&#8221;<br />
  mkdir /tmp/media/usb/Radio<br />
fi</p>
<p>if [[ $1 == "pop1" ]]; then<br />
  radio=http://scfire-ntc-aa07.stream.aol.com:80/stream/1074<br />
elif [[ $1 == "pop2" ]]; then<br />
  radio=http://scfire-ntc-aa03.stream.aol.com:80/stream/1051<br />
elif [[ $1 == "chill" ]]; then<br />
  radio=http://scfire-ntc-aa07.stream.aol.com:80/stream/1018<br />
fi</p>
<p>rm -f /tmp/media/usb/Radio/*.mp3<br />
rm -f /tmp/media/usb/Radio/*.cue</p>
<p>index=0<br />
while [ $index -lt $2 ]<br />
do<br />
  echo &#8220;Loop $index&#8221;</p>
<p>  streamripper $radio -A -a /tmp/media/usb/Radio/radio.mp3 -l 300<br />
  rm -f /tmp/media/usb/Radio/*.mp3<br />
  rm -f /tmp/media/usb/Radio/*.cue</p>
<p>  index=$[$index+1]<br />
done</p>
<p>I have created a file in the root of my hard drive called stream.sh and I just call it through the terminal by running: /tmp/media/usb/USB1//stream.sh [pop01|pop02|chill] </p>
<p>I hope this is useful to somebody</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elmar Weber</title>
		<link>http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/.#comment-172</link>
		<dc:creator>Elmar Weber</dc:creator>
		<pubDate>Fri, 12 Feb 2010 01:09:32 +0000</pubDate>
		<guid isPermaLink="false">http://wdtv.elmarweber.org/?p=19#comment-172</guid>
		<description>Hi, 

if the shoutcast application doesn&#039;t work for you, your only way is how you described it.
To get around the file size problem there is one shell based solution I came along while testing shoutcastfs: simply create a large dummy file and then let streamripper overwrite it, there was a command line switch that told streamripper to start overwriting the file while not truncating it, or something along the line.

The other way for you would be to take a look at shoutcastfs, sources see http://wdtvtools.svn.sourceforge.net/viewvc/wdtvtools/trunk/shoutcastfs/. There the filesystem simply reports a bogus file size while letting streamripper rip into a temp file.

For more details search the WDTV Forum, there was some discussion around it.

ciao,
elm</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>if the shoutcast application doesn&#8217;t work for you, your only way is how you described it.<br />
To get around the file size problem there is one shell based solution I came along while testing shoutcastfs: simply create a large dummy file and then let streamripper overwrite it, there was a command line switch that told streamripper to start overwriting the file while not truncating it, or something along the line.</p>
<p>The other way for you would be to take a look at shoutcastfs, sources see <a href="http://wdtvtools.svn.sourceforge.net/viewvc/wdtvtools/trunk/shoutcastfs/" rel="nofollow">http://wdtvtools.svn.sourceforge.net/viewvc/wdtvtools/trunk/shoutcastfs/</a>. There the filesystem simply reports a bogus file size while letting streamripper rip into a temp file.</p>
<p>For more details search the WDTV Forum, there was some discussion around it.</p>
<p>ciao,<br />
elm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jose</title>
		<link>http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/.#comment-171</link>
		<dc:creator>Jose</dc:creator>
		<pubDate>Thu, 11 Feb 2010 18:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://wdtv.elmarweber.org/?p=19#comment-171</guid>
		<description>Hello:

One of the most important features I intended to have when installing the WDLXTV firmware was online radio streaming but to my surprise it seems that nobody has it working yet :(

Does anybody of you knows how to have online radio in the WDTV?

I have been playing around having shoutcast reading mp3 files that streamripper is creating and got a sort-of-streaming working. The problem is that when I start playing the file it takes the current duration of the file and when the limit is reached it starts over, even though the file was growing in the meantime (beacuse the ripper continued to make it grow while listening). And so, despite the idea seem to be a good hack for it, in practice I would need to be ripping a radio station for some time, wait a good amount of time and start listening to it to avoid the &quot;loop back&quot; effect. But, if any of you likes this idea anyways, this is what I did:

ipkg install streamripper  (you need to have opt.bin installed for the ipkg command)
streamripper  -r -d &lt;a&gt;
Exmaple: streamripper http://scfire-dtc-aa07.stream.aol.com:80/stream/1018 -r -d /tmp/media/usb/Streamripper/

That will start ripping the audio..
And then you navigate the folders with the remote control to Open &quot;Streamripper&quot; folder
And there you will see the file or files that streamripper is creating and are ready to be listened to.

I hope this works for somebody. This is far from being the ideal but is a little something at least...</description>
		<content:encoded><![CDATA[<p>Hello:</p>
<p>One of the most important features I intended to have when installing the WDLXTV firmware was online radio streaming but to my surprise it seems that nobody has it working yet :(</p>
<p>Does anybody of you knows how to have online radio in the WDTV?</p>
<p>I have been playing around having shoutcast reading mp3 files that streamripper is creating and got a sort-of-streaming working. The problem is that when I start playing the file it takes the current duration of the file and when the limit is reached it starts over, even though the file was growing in the meantime (beacuse the ripper continued to make it grow while listening). And so, despite the idea seem to be a good hack for it, in practice I would need to be ripping a radio station for some time, wait a good amount of time and start listening to it to avoid the &#8220;loop back&#8221; effect. But, if any of you likes this idea anyways, this is what I did:</p>
<p>ipkg install streamripper  (you need to have opt.bin installed for the ipkg command)<br />
streamripper  -r -d <a><br />
Exmaple: streamripper </a><a href="http://scfire-dtc-aa07.stream.aol.com:80/stream/1018" rel="nofollow">http://scfire-dtc-aa07.stream.aol.com:80/stream/1018</a> -r -d /tmp/media/usb/Streamripper/</p>
<p>That will start ripping the audio..<br />
And then you navigate the folders with the remote control to Open &#8220;Streamripper&#8221; folder<br />
And there you will see the file or files that streamripper is creating and are ready to be listened to.</p>
<p>I hope this works for somebody. This is far from being the ideal but is a little something at least&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elmar Weber</title>
		<link>http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/.#comment-165</link>
		<dc:creator>Elmar Weber</dc:creator>
		<pubDate>Fri, 22 Jan 2010 21:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://wdtv.elmarweber.org/?p=19#comment-165</guid>
		<description>Hi Foxhunt, 

fuse version 2.6 is used, the same that is in the toolchain in the SVN repository.

To get started simply type &quot;autoreconf&quot; once or twice, that should setup everything for autotools to build. If you have further questions the error message would be helpful. You can contact me directly at wdtv (AT) elmarweber.org</description>
		<content:encoded><![CDATA[<p>Hi Foxhunt, </p>
<p>fuse version 2.6 is used, the same that is in the toolchain in the SVN repository.</p>
<p>To get started simply type &#8220;autoreconf&#8221; once or twice, that should setup everything for autotools to build. If you have further questions the error message would be helpful. You can contact me directly at wdtv (AT) elmarweber.org</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Foxhunt</title>
		<link>http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/.#comment-163</link>
		<dc:creator>Foxhunt</dc:creator>
		<pubDate>Fri, 15 Jan 2010 13:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://wdtv.elmarweber.org/?p=19#comment-163</guid>
		<description>i am trying to build the svn source starting with autoconf etc but it doesn&#039;t compile can you give me some build instructions which version fuse etc.</description>
		<content:encoded><![CDATA[<p>i am trying to build the svn source starting with autoconf etc but it doesn&#8217;t compile can you give me some build instructions which version fuse etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/.#comment-155</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Mon, 02 Nov 2009 17:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://wdtv.elmarweber.org/?p=19#comment-155</guid>
		<description>Please, make it working. With installled streamripper it also not working((((</description>
		<content:encoded><![CDATA[<p>Please, make it working. With installled streamripper it also not working((((</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: detoxtechy</title>
		<link>http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/.#comment-151</link>
		<dc:creator>detoxtechy</dc:creator>
		<pubDate>Tue, 06 Oct 2009 01:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://wdtv.elmarweber.org/?p=19#comment-151</guid>
		<description>Internet Radios are cool. i listen to them most of the time aside from watching videos on youtube. i am also trying to learn how to put my own personal internet radio.</description>
		<content:encoded><![CDATA[<p>Internet Radios are cool. i listen to them most of the time aside from watching videos on youtube. i am also trying to learn how to put my own personal internet radio.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/.#comment-150</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Tue, 08 Sep 2009 12:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://wdtv.elmarweber.org/?p=19#comment-150</guid>
		<description>Aha instead of using my internet browser to connect to http://192.168.1.105/ I needed to use Start &gt; Run &gt; telnet 192.168.1.105 &gt; pass: root and type in ipkg install streamripper. Streamripper was succesfully installed. I tried to use Shoutcast however it still won&#039;t play the streams in any category. Not after shutdown or restart. It&#039;s a shame.</description>
		<content:encoded><![CDATA[<p>Aha instead of using my internet browser to connect to <a href="http://192.168.1.105/" rel="nofollow">http://192.168.1.105/</a> I needed to use Start &gt; Run &gt; telnet 192.168.1.105 &gt; pass: root and type in ipkg install streamripper. Streamripper was succesfully installed. I tried to use Shoutcast however it still won&#8217;t play the streams in any category. Not after shutdown or restart. It&#8217;s a shame.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elmar Weber</title>
		<link>http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/.#comment-148</link>
		<dc:creator>Elmar Weber</dc:creator>
		<pubDate>Wed, 02 Sep 2009 08:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://wdtv.elmarweber.org/?p=19#comment-148</guid>
		<description>With telnet 192.168.1.105 you should see an image like http://wdtv.elmarweber.org/wp-content/uploads/2009/09/prompt.jpg

If so, please continue with the debugging guidelines from the shoutcast post (enter &quot;ipkg install streamripper&quot;), if not there is first another problem to solve.</description>
		<content:encoded><![CDATA[<p>With telnet 192.168.1.105 you should see an image like <a href="http://wdtv.elmarweber.org/wp-content/uploads/2009/09/prompt.jpg" rel="nofollow">http://wdtv.elmarweber.org/wp-content/uploads/2009/09/prompt.jpg</a></p>
<p>If so, please continue with the debugging guidelines from the shoutcast post (enter &#8220;ipkg install streamripper&#8221;), if not there is first another problem to solve.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://wdtv.elmarweber.org/index.php/2009/preview-release-shoutcast-internet-radio-application/.#comment-147</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Wed, 02 Sep 2009 07:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://wdtv.elmarweber.org/?p=19#comment-147</guid>
		<description>Elm I tried your tip but i can&#039;t seem to find the &quot;you&#039;ll see a # prompt&quot; as &#039;savant&#039; tells in the telnet part. 
http://wdtvforum.com/main/index.php?topic=909.msg6530#msg6530

Ofcourse I can login onto my WD with 192.168.1.105 but then I don&#039;t have the prompt option in one of the menu&#039;s. 
I use the WDLXTV 0.5.6.1 firmware.</description>
		<content:encoded><![CDATA[<p>Elm I tried your tip but i can&#8217;t seem to find the &#8220;you&#8217;ll see a # prompt&#8221; as &#8217;savant&#8217; tells in the telnet part.<br />
<a href="http://wdtvforum.com/main/index.php?topic=909.msg6530#msg6530" rel="nofollow">http://wdtvforum.com/main/index.php?topic=909.msg6530#msg6530</a></p>
<p>Ofcourse I can login onto my WD with 192.168.1.105 but then I don&#8217;t have the prompt option in one of the menu&#8217;s.<br />
I use the WDLXTV 0.5.6.1 firmware.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
