PDA

View Full Version : Shoutcast Browser on Windows



Tim Long
2004-03-29, 13:24
I've been trying to get Peter Heslin's shoutcast browser plug-in working
on Windows. No luck. It shows up in the web interface under Server
Settings | Plugins but does not show up on the Slimp3 player menu. Has
anyone set this up in Windows? What am I missing?

Regards,
Tim Long
Software-y-Ddraig <http://software-y-ddraig.long-family.com/> -
software for amateur astronomers

Peter von Weisz
2004-03-31, 05:36
Tim Long wrote:

> I've been trying to get Peter Heslin's shoutcast browser plug-in
> working on Windows. No luck. It shows up in the web interface under
> Server Settings | Plugins but does not show up on the Slimp3 player
> menu. Has anyone set this up in Windows? What am I missing?

Tim & the rest of the List,

I had the same problem, and some diags using the --d_plugins first
showed me that the plugin would not load due to perl errors. My browser
had done some not-so nifty line breaking when I downloaded the file.
That might be one thing to check.

After correcting this it still would not work, but it DID work when
loading the server manually (ie instead of running the startup script
from /etc/rc.d/init.d , I ran the slimserver.pl directly). This was due
to a permissions setting on the ShoutcastBrowser.pm file. Only root had
acess to read it. When loading the server via startup scripts, it
switches user. Changing the permission so that it was world readeble
solved this.
Look for this line when using the --d_plugins:
* 2004-03-31 14:14:15.7204 Can't require Plugins::ShoutcastBrowser for
Plugins menu: Can't locate Plugins/ShoutcastBrowser.pm in @INC
If you see this, you have some kind of permission error.

I'm running Slimserver 5.1.1 (not nightly) on a Linux box, but AFAIK
Windows systems have permission settings aswell.

If you need the ShoutcastBrowser.pm without linebreaks, you can download
an zip archive of it @
http://daishan.dyndns.org/~daishan/shoutcastbrowser.zip and just unzip it.

Oh the joy of the Squeezbox.

/Peter

kdf
2004-03-31, 10:46
Quoting Peter von Weisz <Peter.vonWeisz (AT) bredband (DOT) net>:

> Tim Long wrote:
>
> > I've been trying to get Peter Heslin's shoutcast browser plug-in
> > working on Windows. No luck. It shows up in the web interface under
> > Server Settings | Plugins but does not show up on the Slimp3 player
> > menu. Has anyone set this up in Windows? What am I missing?
>
> Tim & the rest of the List,
>
> I had the same problem, and some diags using the --d_plugins first
> showed me that the plugin would not load due to perl errors. My browser
> had done some not-so nifty line breaking when I downloaded the file.
> That might be one thing to check.
>
> After correcting this it still would not work, but it DID work when
> loading the server manually (ie instead of running the startup script
> from /etc/rc.d/init.d , I ran the slimserver.pl directly). This was due
> to a permissions setting on the ShoutcastBrowser.pm file. Only root had
> acess to read it. When loading the server via startup scripts, it
> switches user. Changing the permission so that it was world readeble
> solved this.
> Look for this line when using the --d_plugins:
> * 2004-03-31 14:14:15.7204 Can't require Plugins::ShoutcastBrowser for
> Plugins menu: Can't locate Plugins/ShoutcastBrowser.pm in @INC
> If you see this, you have some kind of permission error.
>

Windows will also require HTML::Treebuilder, LWP::Simple, HTML::Element
HTML::Parser and most annoying, parser.dll (annying binary, required for
windows). All of these CAN be found on the net and copied to the Plugins
directory one by one, but thats painful. I've sent out a couple zips (huge
sections of the ActivePerl library) to ppl before, but they seem to have kept
silent about which modules are actually needed when others have needed help.

As it is a large package, I wont post here, but you can email me off list and I
can try to grab the right files again. Of course, the other solution would be
to download and install ActivePerl from activestate.com, download the tar.gz or
perscripts.zip version of the server and run slimserver.pl. You can make this a
service by using firedaemon, and it should make many plugins easier to deal
with. ActivePerl contains many of the modules that plugins require.

-kdf

Dan Sully
2004-03-31, 11:00
* kdf <slim-mail (AT) deane-freeman (DOT) com> shaped the electrons to say...

>Windows will also require HTML::Treebuilder, LWP::Simple, HTML::Element
>HTML::Parser and most annoying, parser.dll (annying binary, required for
>windows). All of these CAN be found on the net and copied to the Plugins
>directory one by one, but thats painful. I've sent out a couple zips (huge
>sections of the ActivePerl library) to ppl before, but they seem to have kept
>silent about which modules are actually needed when others have needed help.
>
>As it is a large package, I wont post here, but you can email me off list and I
>can try to grab the right files again. Of course, the other solution would be
>to download and install ActivePerl from activestate.com, download the tar.gz or
>perscripts.zip version of the server and run slimserver.pl. You can make this a
> service by using firedaemon, and it should make many plugins easier to deal
>with. ActivePerl contains many of the modules that plugins require.

Is HTML::Parser not included in ActiveState's PPM package system?

-D
--
Welcome to hell. Here's your accordion.

kdf
2004-03-31, 11:10
Quoting Dan Sully <daniel (AT) electricrain (DOT) com>:

> * kdf <slim-mail (AT) deane-freeman (DOT) com> shaped the electrons to say...
>
> >Windows will also require HTML::Treebuilder, LWP::Simple, HTML::Element
> >HTML::Parser and most annoying, parser.dll (annying binary, required for
> >windows). All of these CAN be found on the net and copied to the Plugins
> >directory one by one, but thats painful. I've sent out a couple zips (huge
> >sections of the ActivePerl library) to ppl before, but they seem to have
> kept
> >silent about which modules are actually needed when others have needed help.
>
> >
> >As it is a large package, I wont post here, but you can email me off list
> and I
> >can try to grab the right files again. Of course, the other solution would
> be
> >to download and install ActivePerl from activestate.com, download the tar.gz
> or
> >perscripts.zip version of the server and run slimserver.pl. You can make
> this a
> > service by using firedaemon, and it should make many plugins easier to
> deal
> >with. ActivePerl contains many of the modules that plugins require.
>
> Is HTML::Parser not included in ActiveState's PPM package system?
>
I believe it is. Installing activePerl should make the shoutcast plugin work.
Some other plugins ask for thigns like Geo::Weather, which isnt included. All I
remember is nearly a dozen emails back and forth (twice over, becuase two ppl
have had to do the process). I was sending each module at a time as the errors
were coming up. Eventually I just sent the whole site/lib/HTML tree. I never
head back as to which modules were required. Teh second person ended up just
installing ActivePerl and runnign with firedaemon.

I did have a third person email me about it. But, when they started asking me
if I could change things, and I had to point out that its not my plugin, s/he
disappeared. I dont know what that solution ended up being.

-kdf

kdf
2004-03-31, 11:20
ok, I've quickly managed to find the exact modules that are needed for the
plugin to run under Windows. Its a 120k zip file, which might be too big for a
post on this list. Email me offlist and I can send it directly.

-kdf