mherger wrote: 
> > After restarting LMS, here's what happens:
> 
> You need to initialize the Settings in your plugin. Add
> 
> use Plugins::M218::Settings;
> 
> at the top of it, and in initPlugin() you do:
> 
>       Plugins::M218::Settings->new();
> 
> Instead of dealing with a pCP's folders I'd recommend you run LMS on 
> your local dev machine. This allows you to easily restart LMS without 
> having to copy files around etc.
Got home from being out for the afternoon to see your very quick
response, and tried your suggestion.

Success!
It was as simple as adding those extra lines into my plugin.
I will now start looking at adding the additional configuration settings
that it ought to have, and remove the hard-coded stuff.

Thank you so much for your assistance, much appreciated.

BTW, it's no problem for me to copy files to the pCP server using Samba,
and restarting LMS is no hassle. I'm not planning to be a regular plugin
developer, so this is all pretty much a one-off.



Transporter -> ATC SCM100A
------------------------------------------------------------------------
cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348
View this thread: http://forums.slimdevices.com/showthread.php?t=114585

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to