PDA

View Full Version : Radio Paradise



Nickok
2007-01-05, 09:45
I've been enjoying listening to Radio Paradise on the SB3 since I discovered it via these forums. I see RP have changed their 192k mp3 stream to delivery via Octoshape. Does anyone have any info regarding Octoshape? Does it play with Slimserver or Squeezenetwork?

They still have 128k mp3 and AAC over HTTP. What are the relative merits of AAC (and AACplus) v mp3?

BTW, how about a forum for discussion of Internet Radio as related to Squeezebox.

andyg
2007-01-05, 09:56
That's a bummer, Octoshape is a proprietary technology so there's no information on how to support something like that. At least you can still listen to their normal stream.

Ben Sandee
2007-01-05, 11:11
On 1/5/07, andyg <andyg.2jy5lz1168016401 (AT) no-mx (DOT) forums.slimdevices.com>
wrote:
>
>
> That's a bummer, Octoshape is a proprietary technology so there's no
> information on how to support something like that. At least you can
> still listen to their normal stream.


Definitely a bummer. Maybe there is hope: I was able to listen to the
Octoshape stream on my SliMP3 (but not SB2/3!) using this technique:

FWIW, I did some messin' around on my Linux machine w/SlimServer and it
looks like Octoshape acts as a sort of proxy server. It launches and
handles the network connection to the various peers and produces a standard
local mp3 radio stream for the local client (the stream is only accessible
to localhost, which is important as you'll see).

I wrote a stupid-simple C program to act as a proxy (octoproxy):

#include <stdio.h>

int main(int argc, char *argv[])
{
int i;
char str[20000];

for(i=0;i<argc;i++)
{
fprintf(stderr, "arg %d, %s\n", i, argv[i]);
}

fgets(str, sizeof(str), stdin);

return 0;
}

Then I setup the octoshape setup.cfg like this:

PlayerExec=octoproxy $url
JavaExec=<blarg>

Then I launched the Octoshape client using this URL:

OctoshapeClient -url:octoshape:PARADISE.stream1_mp3

Next, I did a 'ps ax' command and found this URL waiting for me:

11988 pts/0 S+ 0:00 octoproxy
http://127.0.0.1:6498/ms/mp3/XFAEBFCEBEEEJFDEFCOHDHEHCGFGBGNDBFPGNHADD/1168020463805/octoshape.mp3

I pasted this URL into Radio Tune-In on my SliMP3 player page and the music
started instantly. I did the same process for my SB2 and SB3 devices and it
did not work -- I eventually narrowed this down to the fact that the SB
player was attempting to connect to the URL directly rather than letting
SlimServer do it. For older devices, they don't connect to radio stations
directly.

Anyway, maybe there's hope.... The right helper program and the right
command-line manipulation could automate most, if not all of this. Is there
any way to force SlimServer to stream the URL rather than having the player
connect to the URL?

Ben

andyg
2007-01-05, 11:17
Yikes that's a lot of work. Have you tried setting the HTTP Proxy option in SlimServer? That should tell the SB2/3 to connect to streams using that proxy server.

Ben Sandee
2007-01-05, 11:28
On 1/5/07, andyg <andyg.2jy9bd1168021203 (AT) no-mx (DOT) forums.slimdevices.com>
wrote:
>
>
> Yikes that's a lot of work. Have you tried setting the HTTP Proxy
> option in SlimServer? That should tell the SB2/3 to connect to streams
> using that proxy server.


Agreed. I won't be using it myself as I find 128K RP is sufficient on my
setup. Also, I suspect that it might not work on Windows because it might
be very tightly integrated with the media players.

I don't understand how setting the HTTP proxy settings would help because I
don't actually have a proxy server. Octoshape is a *sort* of proxy server,
but not an *actual* proxy server. The only stream it will serve is the one
it was launched with.

Ben

DLORDE
2007-01-31, 03:35
If you play the Octoshape station of choice in WinAmp or WindowsMedia (or equivalent player), you can grab the Octoshape plugin URL for that station from the player and paste it directly into the SlimServer Tune In URL, then save as a playlist. I haven't tried playing Octoshape streams with SB3, but it's fine for SoftSqueeze.