This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Streaming Question?

Tags: None
(comma "," separated)
kyleflan
Registered Member
Posts
3
Karma
0

Streaming Question?

Thu Dec 21, 2006 9:12 pm
I'm trying to listen to the Radio Free Texas ( http://www.radiofreetexas.org ) radio stream on Amarok. However, every time I go to Playlist > Add Stream, enter the radio stream (http://www.radiofreetexas.org/lsmrft.asx), and click "Ok" it tells me it's unplayable. However, if I open the stream in KMPlayer, it will play. Is that .asx format not supported by Amarok? The funny thing is, both players are using the xine engine. Any suggestions? I'd really like to listen to RFT from Amarok, since that's where the rest of my media is.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Streaming Question?

Thu Dec 21, 2006 9:55 pm
The problem is a tag mismatch, due to uppercase/lowercase:

Loading...RadioFreeTexas

The ASX format is unfortunately case-insensitive, but our XML parser is not. That's why it fails to parse.


You can however still play the stream. Just download the playlist (wget), and you'll see the URLs inside.


--
Mark Kretschmann - Amarok Developer
kyleflan
Registered Member
Posts
3
Karma
0

Re: Streaming Question?

Fri Dec 22, 2006 7:02 pm
Okay, I used wget to download the stream, opened it in a text editor and there are no streamable files. Here's the file opened in a text editor. The first link (the .wma) file is just an add that plays before the actual stream, but I can't even get that to work in Amarok. Any more suggestions?

Code: Select all
<ASX version="3.0">
<entry>
<Abstract>Loading...RadioFreeTexas</abstract>
<Copyright>2006 RadioFreeTexas.org</Copyright>
<Author>www.radiofreetexas.org</author>
<Title>Win a trip to MusicFest in Steamboat, CO courtesy of SoThread.com!</title>
<ref href = "http://www.radiofreetexas.org/ads/gateway.wma"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/steamboat.htm"/>
</entry>


<entry>
<title> RadioFreeTexas.org </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=lsmplaying-lite"/>
</entry>

<entry>
<title> Texas Red Dirt Music 24/7 </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=playing-lite"/>
</entry>

<entry>
<title> Texas Red Dirt Music 24/7 </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=playing-lite"/>
</entry>

<entry>
<title> Texas Red Dirt Music 24/7 </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=playing-lite"/>
</entry>

<entry>
<title> Texas Red Dirt Music 24/7 </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=playing-lite"/>
</entry>

<entry>
<title> Texas Red Dirt Music 24/7 </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=playing-lite"/>
</entry>

<entry>
<title> Texas Red Dirt Music 24/7 </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=playing-lite"/>
</entry>

<entry>
<title> Texas Red Dirt Music 24/7 </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=playing-lite"/>
</entry>

<entry>
<title> Texas Red Dirt Music 24/7 </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=playing-lite"/>
</entry>

<entry>
<title> Texas Red Dirt Music 24/7 </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=playing-lite"/>
</entry>

<entry>
<title> Texas Red Dirt Music 24/7 </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=playing-lite"/>
</entry>

<entry>
<title> Texas Red Dirt Music 24/7 </title>
<author>visit http://www.radiofreetexas.org/ </author>
<ref href="http://wm12.spacialnet.com/radiofreetexas59718"/>
<PARAM name="HTMLView" value="http://www.radiofreetexas.org/rftnew/modules.php?name=Now_Playing&file=playing-lite"/>
</entry>

</asx>



User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Streaming Question?

Fri Dec 22, 2006 7:13 pm
For me the .wma URL works. Obviously you need a xinelib that is capable of playing wma. Some distros might rip this plugin out, so you may need to fetch it from an extra repository.


--
Mark Kretschmann - Amarok Developer
kyleflan
Registered Member
Posts
3
Karma
0

Re: Streaming Question?

Fri Dec 22, 2006 7:22 pm
After some messing around I finally got it. I had to play the file in KMplayer and then view the console, but I finally got this URL to work: mmsh://wm12.spacialnet.com/radiofreetexas59718 I guess the protocol was wrong. mmsh instead of http.

Thanks for your help, though!
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Streaming Question?

Sat Dec 23, 2006 9:33 pm
I have very good news: Alexandre had just fixed the tag mismatch problem in SVN. This means that Amarok 1.4.5 will handle such playlists correctly :)


--
Mark Kretschmann - Amarok Developer


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]