On 1/5/07, andyg <[EMAIL PROTECTED]>
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
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss