PDA

View Full Version : Internet Radio



dhogarth
2005-06-10, 07:10
I haven't bought a Squeezebox yet, but I am considering it. My concern is with radio. I read a lot about access to subscription services like shoutcast, radio365 or whatever. What I want to know is, can I just access a station like I can from my PC? Specifically, can I access the French classical music station France Musiques (link at http://www.radiofrance.fr/chaines/france-musiques/direct/ ).

I'd be really grateful if someone who has a Squeezebox could actually go there and try it, so I have a practical answer rather than a theoretical one.

Thanks

David

mherger
2005-06-10, 07:28
> I haven't bought a Squeezebox yet, but I am considering it. My concern
> is with radio. I read a lot about access to subscription services like
> shoutcast, radio365 or whatever. What I want to know is, can I just

Shoutcast is free, no subscription needed.

> access a station like I can from my PC? Specifically, can I access the
> French classical music station France Musiques (link at
> http://www.radiofrance.fr/chaines/france-musiques/direct/ ).

This depends on your system and on the stream: if it's mp3, no problem. If
it's wma and you're running windows, you might be fine. If it's a
realplayer stream, you'd need to install additional software (AlienBBC,
mplayer).

> I'd be really grateful if someone who has a Squeezebox could actually
> go there and try it, so I have a practical answer rather than a
> theoretical one.

You can try this yourself: download the slimserver software, install it.
Connect to http://localhost:9000/stream.mp3 using your favourite player
(winamp, xmms...)

There's a radio link in the help section of the player's web interface
(http://localhost:9000) where you can paste your station's url.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

mwphoto
2005-06-10, 07:36
Hi,

I've had a go and I couldn't make it work :(

The site essentially provides a lot of HTML wrapping to generate a windows
media player on a webpage. I traced it through to identify the stream but I
either made a mistake, or the use of cookies means that it is not
straightforward to listen to the stream.

So as an initial comment listening to this station is not completely
straightforward and may not be possible, however there are plenty of other
experts around that might take it further.

For the record I believe the stream URL is something like

base + identifier + unique tag

Base:
http://direct.yacast.fr/cgi-bin/WebObjects/TagCount.woa/wa/ouverture?mid=165
418&idappel=
Identifier: ecoute_france-musique_x200_s60
tag: &uniq=12345678

the part after the uniq tag represents the result of a getTime() javascript
call (so it's probably wrong :)

Sorry it's not initially good news :(

By the way if you take this further and want to test more if you downlaod
the server software you can use softsqueeze. This is an emulator for the
SqueezeBox2. If you can get the radio you want using the server and
softsqueeze then it will work with the DqueezeBox2 hardware.

Malcolm
> -----Original Message-----
> From: beginners-bounces (AT) lists (DOT) slimdevices.com
> [mailto:beginners-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of dhogarth
> Sent: 10 June 2005 15:11
> To: beginners (AT) lists (DOT) slimdevices.com
> Subject: [SlimDevices: Beginners] Internet Radio
>
>
>
> I haven't bought a Squeezebox yet, but I am considering it. My concern
> is with radio. I read a lot about access to subscription services like
> shoutcast, radio365 or whatever. What I want to know is, can I just
> access a station like I can from my PC? Specifically, can I access the
> French classical music station France Musiques (link at
> http://www.radiofrance.fr/chaines/france-musiques/direct/ ).
>
> I'd be really grateful if someone who has a Squeezebox could actually
> go there and try it, so I have a practical answer rather than a
> theoretical one.
>
> Thanks
>
> David
>
>
> --
> dhogarth
>

mherger
2005-06-10, 07:58
> I've had a go and I couldn't make it work :(

Don't give up (still one of my favourite songs ;-))

> For the record I believe the stream URL is something like
> Base:
> http://direct.yacast.fr/cgi-bin/WebObjects/TagCount.woa/wa/ouverture?mid=165
> 418&idappel=
> Identifier: ecoute_france-musique_x200_s60
> tag: &uniq=12345678

It's simpler than that: if you open the web page you'll find the media
player opject, which will connect to
"http://cache.yacast.fr/V4/francemusique/fmusique.asx". Copy/paste that
link to the "tune in" field I mentioned in the other mail. It worked right
away on my linux server (I have AlienBBC and mplayer installed).

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

mherger
2005-06-10, 08:28
(going back on-list - there's still something wierd with the reply-to
header...)

> Cool, Could you point me at the snippet that is the Media player object?
> I can see that it might be a useful technique to identify other streams.

The lower frame's source contains the following:

[..]
<td width="468" align="center"> <object id="NSPlay" name="NSPlay"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
width=468
height=52
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,1,5,217"
standby="Loading Microsoft® Windows Media™ Player components..."
type="application/x-oleobject">
<param name='AutoStart' value='1'>
<param name='filename'
value='http://cache.yacast.fr/V4/francemusique/fmusique.asx'>
[..]

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)