PDA

View Full Version : ShoutcastBrowser Plugin - Anyone have this working with 5.03



Dana
2004-01-24, 00:07
I am thinking about just re-writing this thing becuase the docs say it very
fragile and will break if Shoutcast changes the HTML format etc.

I was just wondering if anyone has this plugin working for SlimServer 5.03?
When I put it in the plugin folder, not plugin appears on the SqueezeBox. I
assume its producing an error somewhere but I am not sure where the log file
is.

Anyone have any experience with ShoutcastBrowser.pm? Any success? Any hints
requests for improvements?

kdf
2004-01-24, 00:17
Quoting Dana <padrino7 (AT) comcast (DOT) net>:

> I am thinking about just re-writing this thing becuase the docs say it very
> fragile and will break if Shoutcast changes the HTML format etc.
>
> I was just wondering if anyone has this plugin working for SlimServer 5.03?
> When I put it in the plugin folder, not plugin appears on the SqueezeBox. I
> assume its producing an error somewhere but I am not sure where the log file
> is.
>
> Anyone have any experience with ShoutcastBrowser.pm? Any success? Any hints
> requests for improvements?

well, I'll just say I have it working with the latest cvs. This may be that the
original source hasn't yet converted it to 5.x so I'll attach mine to this msg. I
dont really use it all that often, save for testing so I haven't much input as
to how it needs to work. Just, have fun :)

-kdf

Dana
2004-01-24, 00:43
Thanks kdf,
After installing LWP:Simple-Cookies from ActiveState's ppm I was able to run
it directly as a perl script in stead of the complied perl code. I got the
plugin working :) Great. This is just what I wanted.

Not sure how creating executable from perl works but I am sure I can figure
it out. I was wondering of I can (on my PC) link in the LWP::Simple-Cookies
modules in a way that the executable Slimsvc.exe could find it? Or, would I
have to generate the perl compiled byte code from ActiveState.

Anyway, thanks again for you help. I figured out I had to install the
LWP::Simple-Cookies from the -d_plugins option on the command line from the
prev post.

Dana
2004-01-24, 00:53
I just found the answer in another of your posts about placing the modules
HTML::Tree and LPW::Simple-cookie (the .pm files) under the server directory
in the standard way for perl (I don't know why I did not think of that :)).

Thanks again.

kdf
2004-01-24, 01:00
Quoting Dana <padrino7 (AT) comcast (DOT) net>:

> Thanks kdf,
> After installing LWP:Simple-Cookies from ActiveState's ppm I was able to run
> it directly as a perl script in stead of the complied perl code. I got the
> plugin working :) Great. This is just what I wanted.
>
> Not sure how creating executable from perl works but I am sure I can figure
> it out. I was wondering of I can (on my PC) link in the LWP::Simple-Cookies
> modules in a way that the executable Slimsvc.exe could find it? Or, would I
> have to generate the perl compiled byte code from ActiveState.

Glad it worked for you. To add modules for use with slimsvc.exe, you just have
to save the .PM files to the Plugins directory. ie: LWP::Simple-Cookies saves
as Plugins/LWP/Simple-Cookies.pm. The server should recognise them from there.
Developing EXE files from Perl is a lot more involved, and not very
cross-platform. OSX and Linux have Perl installed by default so they dont' need
executables.

-kdf