PDA

View Full Version : Getting plugins to work in windows



Rob Holland
2004-03-01, 23:01
Ok, I have searched the lists as best I can, read every README file there
is, and I still can't figure it out.

I would like to get plugins to work in the windows version of slimserver
with my squeezebox, although I can't seem to make it happen.

2 plugins in particular I would like to get working: The weather plugin and
the shoutcast plugin.

I've installed activeperl on my XP Pro box that's running slimserver. The
weather readme states I need Geo::Weather and XML::Simple to name a few.

I figured out the "ppm" command that launches the perl package manager. I'm
querying for packages named "Geo::Weather" and I get things like
"Geo-Weather" and "XML-Simple" (which was already installed)

Are these the same thing?

I put the 'weather.pm' file in the plugins dir of the server. When I go to
the Squeezebox and go to plugins/weather it says (error) on the display.
When I hit the right arrow on the remote it says something to the effect of
"XML::Simple not installed"

Is there anyone out there that can verify if these plugins actually work in
a Windows environment (and please, no "get a real OS..Use Linux" comments,
because this server runs other windows programs so it's not an option) and
what do I have to do to make these things work?

Thanks.

Rob

kdf
2004-03-01, 23:25
Quoting Rob Holland <rizzo011 (AT) hotmail (DOT) com>:

>
> Ok, I have searched the lists as best I can, read every README file there
> is, and I still can't figure it out.
>
> I would like to get plugins to work in the windows version of slimserver
> with my squeezebox, although I can't seem to make it happen.
>
> 2 plugins in particular I would like to get working: The weather plugin and
> the shoutcast plugin.
>
> I've installed activeperl on my XP Pro box that's running slimserver. The
> weather readme states I need Geo::Weather and XML::Simple to name a few.
>
> I figured out the "ppm" command that launches the perl package manager. I'm
> querying for packages named "Geo::Weather" and I get things like
> "Geo-Weather" and "XML-Simple" (which was already installed)
>
> Are these the same thing?
>
> I put the 'weather.pm' file in the plugins dir of the server. When I go to
> the Squeezebox and go to plugins/weather it says (error) on the display.
> When I hit the right arrow on the remote it says something to the effect of
> "XML::Simple not installed"
>
> Is there anyone out there that can verify if these plugins actually work in
> a Windows environment (and please, no "get a real OS..Use Linux" comments,
> because this server runs other windows programs so it's not an option) and
> what do I have to do to make these things work?
>
yer on the right track. I dont think the EXE knows to look in the typical
locations for the installs when using ppl. Running slimserver.pl should work.
This is included in the perlscripts.zip version. If you have activePerl you can
do this. To use with the EXE, you need to copy the libraries to the Plugins
DIR. For example XML::Simple (or XML-simple) needs to be in Plugings/XML/Simple.pm.

Sorry I dont have mor detail, but I am not a windows user. I know a few ppl
have got them working using methods like this. The shoutcast plugin needs a
fair number of modules. If you install active perl, copy the entire HTML
directory from c:\perl\lib\auto to Plugins, for a start.

If you look at the archives for this mailing list, there were a couple threads
about this in January.
http://lists.slimdevices.com/archives/discuss/2004-January/

-kdf

Bob Myers
2004-03-01, 23:31
Shoutcast works for me under XP after installing ActiveState.

Right now, I start the server by hand in a DOS box using the command
"perl slimserver.pl". That uses the whole ActiveState environment, so
there's no issue of what packages were or were not copied into the right
place in the SlimServer directory. Until I got it working, I used the
"perl slimserver.pl -d_plugins" command which was helpful in telling me
what the Shoutcase plugin was unhappy about. I could probably start the
server automatically when the system starts by using the "Scheduled
Tasks" feature of Windows, but I tried this, got as far as it telling me
"Status=Could not start" and haven't pursued it further.

Of course, higher-bandwidth Shoutcast streams still break up but that's
another issue.

--
Bob Myers

Quoting Rob Holland:

> Ok, I have searched the lists as best I can, read every README file
> there is, and I still can't figure it out.
>
> I would like to get plugins to work in the windows version of
> slimserver with my squeezebox, although I can't seem to make it
> happen.
>
> 2 plugins in particular I would like to get working: The weather
> plugin and the shoutcast plugin.
>
> I've installed activeperl on my XP Pro box that's running slimserver.
> The weather readme states I need Geo::Weather and XML::Simple to name
> a few.
>
> I figured out the "ppm" command that launches the perl package
> manager. I'm querying for packages named "Geo::Weather" and I get
> things like "Geo-Weather" and "XML-Simple" (which was already
> installed)
>
> Are these the same thing?
>
> I put the 'weather.pm' file in the plugins dir of the server. When I
> go to the Squeezebox and go to plugins/weather it says (error) on the
> display. When I hit the right arrow on the remote it says something
> to the effect of "XML::Simple not installed"
>
> Is there anyone out there that can verify if these plugins actually
> work in a Windows environment (and please, no "get a real OS..Use
> Linux" comments, because this server runs other windows programs so
> it's not an option) and what do I have to do to make these things
> work?
>
> Thanks.
>
> Rob

kdf
2004-03-01, 23:31
Quoting Rob Holland <rizzo011 (AT) hotmail (DOT) com>:

>
> Ok, I have searched the lists as best I can, read every README file there
> is, and I still can't figure it out.
also try looking at this thread...
http://lists.slimdevices.com/archives/discuss/2004-February/thread.html#25503

-kdf