PDA

View Full Version : i am weak



fcm4711
2004-04-04, 03:19
Hi there

Is anyone successfully using the rm2mp3proxy.pl script
with the current CVS? I had it working with an older
SlimServer release, but with the current one,
SlimServer just gets completely unresponsive and
needs to be restarted. (Or if I kill the script
SlimServer comes back after about a minute.)

I see that the script gets triggered and is reading
the
stream from the internet, but SlimServer seems to
have a problem using the output of the script.

I tried on two different Linux installations and got
the same result.

Any ideas?

Thanks,
Felix


--- kdf <slim-mail (AT) deane-freeman (DOT) com> wrote:
> Quoting Jack Coates <jack (AT) monkeynoodle (DOT) org>:
>
> > is there a better way to get realaudio streaming
> on linux than
> > alienstream? Or am I needlessly put off by Peter's
> dire warnings?
> > Implementing this doesn't look like a five minute
> project :-)
> > --
>
> There was a post to this list entitled "attempted
> hack to alienstream for
> slimserver 5.1". I never tried it, but it could be
> part of the way there for you.
>
> Also a post entitled:
> "Summary-How to use Real Audio, Spinner, Winamp, and
> Shoutcast to Squeezebox"
>
> there was also this perl script posted:
> rm2mp3proxy.pl, which uses vsound under
> linux to handle real. run perldoc rm2mp3proxy.pl for
> some info.
>
> -kdf
>

> ATTACHMENT part 2 application/octet-stream
name=rm2mp3proxy.pl
>

kdf
2004-04-04, 03:40
Quoting Felix Mueller <fcm4711 (AT) yahoo (DOT) com>:

> Hi there
>
> Is anyone successfully using the rm2mp3proxy.pl script
> with the current CVS? I had it working with an older
> SlimServer release, but with the current one,
> SlimServer just gets completely unresponsive and
> needs to be restarted. (Or if I kill the script
> SlimServer comes back after about a minute.)
>
> I see that the script gets triggered and is reading
> the
> stream from the internet, but SlimServer seems to
> have a problem using the output of the script.
>
> I tried on two different Linux installations and got
> the same result.
>
> Any ideas?

I wondered about this. Some filenames were accidentally getting detected as
urls, so the isURL routine was tightened.

sub isURL {
my $url = shift;
return (defined($url) && ($url =~ /^(http|icy|itunesplaylist|file):/i));
}

Try changing this to:
sub isURL {
my $url = shift;
return (defined($url) && ($url =~ /^(http|icy|itunesplaylist|rtsp|file):/i));
}

see if that helps.
-kdf