PDA

View Full Version : start writing plugin help



Waldy
2004-07-26, 00:25
Hi all,

I'm new to perl & plugins so bear with me. I've written a bit of perl which
captures a bit of text of a web page. Thought I'd use the rescan example
plugin as a template for my new plugin, before I add my code.

I've renamed Rescan.pm giving my own name & amended the line package
Plugins::myname, the placed the file in the Plugins directory.

The new plugin does not appear in the plugin options on the squeezebox, but
does appear ticked on the web interface.

How do I get the new plugin to appear on the sb plugin menu?

I'm using fedora2 with slimserver 5.20

regards

Waldy

kdf
2004-07-26, 09:19
Quoting Waldy <waldy (AT) wizfamily (DOT) co.uk>:

> Hi all,
>
> I'm new to perl & plugins so bear with me. I've written a bit of perl which
> captures a bit of text of a web page. Thought I'd use the rescan example
> plugin as a template for my new plugin, before I add my code.
>
> I've renamed Rescan.pm giving my own name & amended the line package
> Plugins::myname, the placed the file in the Plugins directory.

run the server from the command line:
/ust/local/slimserver.pl --d_plugins

that will report any errors
-kdf

Waldy
2004-07-27, 05:26
kdf,

syntax errors! thanks for the info. I reckon I can find my own way now.

regards Waldy