Forum Discussion
- belltownRoku GuruAs long as it's an MP3 stream it doesn't matter what the URL is.
- TheEndlessChannel SurferBe sure to add a trailing slash to the URL. For some reason, the audio player doesn't like mp3 streams that end in a port number unless the have a trailing slash (e.g., http://my.radio.url:8000/)
- newchannelRoku GuruOh...
Thank you The Endless. Will try it. - newchannelRoku GuruThe radio stream so far is not working. (It's a radio station that is on shoutcast and I have permission to add it.) I have been trying the following:
<item sdImg="http://xxxxx.net/xxx/images/xxxx.jpg" hdImg="http://xxxx.net/xxx/images/xxxx.jpg">
<title>xxxxxxx</title>
<contentId>10031</contentId>
<contentType>Talk</contentType>
<contentQuality>SD</contentQuality>
<media>
<streamFormat>mp3</streamFormat>
<streamQuality>SD</streamQuality>
<streamBitrate></streamBitrate>
<streamUrl>
http://xxx.xx.xx:8000/
</streamUrl>
</media>
<synopsis>
LIVE Radio stream from xxxxxxx.
</synopsis>
<genres>Music</genres>
<runtime>1790</runtime>
</item>
Any tips on what the problem might be or where I should look for more information on this type of code?
Thanks in advance. - RokuMarknVisitorI assume in your actual streamUrl value, you have something after the last slash? The top level directory of a web site isn't likely to be an mp3 file.
--Mark - newchannelRoku Guru
- RokuMarknVisitorThat doesn't sound right. You're saying the website contains nothing but one mp3 file? And the root directory of the web site redirects to that file? I think you're missing something in the URL. I would think it should at least look like http://17x.xxx.17x.5x:8000/yyyy.mp3.
If you enter that URL in your browser, what happens? Do you go to a web site or does it just start playing an mp3 file? If the former, then your URL is incomplete.
--Mark - TheEndlessChannel Surfer
"RokuMarkn" wrote:
That doesn't sound right. You're saying the website contains nothing but one mp3 file? And the root directory of the web site redirects to that file? I think you're missing something in the URL. I would think it should at least look like http://17x.xxx.17x.5x:8000/yyyy.mp3.
If you enter that URL in your browser, what happens? Do you go to a web site or does it just start playing an mp3 file? If the former, then your URL is incomplete.
--Mark
Mark, that's normal for a SHOUTcast stream. In this instance, the url is pointing to a SHOUTcast server, not a website.
newchannel, based on the XML posted, it looks like you might be trying to use the video format for your content. Are you parsing that and passing it to an roAudioPlayer component, or are you trying to use the same code you use for video? The latter is unlikely to work. - newchannelRoku GuruI pasted it into the browser. Takes me to a page for the info about the shoutcast station. If I add listen.pls after the 8000/ then it loads and plays the stream on the computer.
- newchannelRoku GuruTheEndless,
It's added to the same code I've been using for other videos and just changed the streamformat and url...so looks like I need to make some changes. Any tips?
Related Content
- 8 months ago
- 8 months ago
- 3 months ago
- 7 months ago