Playing radio streams
#1
Hi,
I know that this may be a double post. But I can'tfugure out whether streaming radio is supported in XBMC/linux. I use it a lot on XBMC/xbox but I cant use the files from the xbox on linux. Here's an example of a file:

Code:
[playlist]
NumberOfEntries=3
File1=http://wmscr1.dr.dk/e02ch04m?wmcontentbitrate=300000/.wma
Title1=DR Rock
Length1=0
Version=2

When I click on the file I "enter" the file and I can see the content as shown above. The log file gives me:

Code:
23:36:57 T:3067430752 M: 68075520   DEBUG: OnKey: 61453 pressed, action is 7
23:36:57 T:3067430752 M: 68075520    INFO: easy_aquire - Created session to http://wmsc.dr.dk
23:36:57 T:3067430752 M: 68075520   DEBUG: Curl:: Debug About to connect() to wmsc.dr.dk port 80 (#0)
23:36:57 T:3067430752 M: 68075520   DEBUG: Curl:: Debug   Trying 195.137.195.10...
23:36:57 T:3067430752 M: 68075520   DEBUG: Curl:: Debug connected
23:36:57 T:3067430752 M: 68075520   DEBUG: Curl:: Debug Connected to wmsc.dr.dk (195.137.195.10) port 80 (#0)
23:36:57 T:3067430752 M: 68075520   DEBUG: Curl:: Debug HEAD /e02ch04m?wmcontentbitrate=300000/.wma HTTP/1.1
                             User-Agent: XBMC/pre-2.1 (compatible; MSIE 6.0; Windows NT 5.1; WinampMPEG/5.09)
                             Host: wmsc.dr.dk
                             Accept: */*
                             Connection: keep-alive
23:36:57 T:3067430752 M: 68075520   DEBUG: Curl:: Debug The requested URL returned error: 501
23:36:57 T:3067430752 M: 68075520   DEBUG: Curl:: Debug Closing connection #0
23:36:57 T:3067430752 M: 68075520   DEBUG: Curl:: Debug HTTP response code said error
23:36:57 T:3067430752 M: 68075520   DEBUG: FileCurl::Close(0xbf80b840) http://wmsc.dr.dk/e02ch04m?wmcontentbitrate=300000/.wma
23:36:57 T:3067430752 M: 68075520   DEBUG: new file set audiostream:0
23:36:57 T:3067430752 M: 68075520   DEBUG: CPlayerCoreFactor::GetPlayers(http://wmsc.dr.dk/e02ch04m?wmcontentbitrate=300000/.wma)
23:36:57 T:3067430752 M: 67948544   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://wmsc.dr.dk/e02ch04m?wmcontentbitrate=300000/.wma
23:36:57 T:3067430752 M: 68075520   ERROR: Playlist Player: skipping unplayable item: 2, path [http://wmsc.dr.dk/e02ch04m?wmcontentbitrate=300000/.wma]
23:37:16 T:3067430752 M: 68075520    INFO: CheckIdle - Closing session to http ://wmscr2.dr.dk (easy=0xacd34008, multi=(nil))

Looks like a codec might be missing - which ones to install ??
Reply
#2
Hi hinge,

- Did you try other radio streams? (not wma). The ones I use from winamp site work perfectly.

- Did you try to play the stream outside XBMC (from an other player) ?

It could be related to the wma codec support.

Cheers
Reply
#3
I tried playing a pls file containing:

Code:
[playlist]

File1=http://onair.100fmlive.dk/soft_live.mp3
Title1=Radio Soft
Length1=-1

NumberOfEntries=1

And it played just fine - so it is a codec problem. is there anyway to play a wma stream in xbmc. I have mplayer installed and if I feed it the url:
Code:
http://wmscr1.dr.dk/e02ch01m?wmcontentbitrate=300000/.wma
It plays...

what to do??
Reply

Logout Mark Read Team Forum Stats Members Help
Playing radio streams0