When developing a plugin, where should I put it in the Docker container?

adhawkins <adhawkins.akjgsn-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Mon, 16 May 2022 22:27:17 +0000
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
Hi,

Trying to pick up work on my SimpleLibraryViews plugin using the Docker
container to develop on.

I've found that if I put it in /config/cache/InstalledPlugins/Plugins
then it gets deleted unless LMS thinks it should be installed.

There is another directory in /config/cache/Plugins, but if I put the
plugin there, it doesn't seem to be found correctly at startup:

> 
> Can't locate Plugins/SimpleLibraryViews/Plugin.pm in @INC (you may need
> to install the Plugins::SimpleLibraryViews::Plugin module) (@INC
> contains: /config/cache/InstalledPlugins
> /lms/CPAN/arch/5.32/x86_64-linux-thread-multi
> /lms/CPAN/arch/5.32/x86_64-linux-thread-multi/auto
> /lms/CPAN/arch/5.32.1/x86_64-linux-gnu-thread-multi
> /lms/CPAN/arch/5.32.1/x86_64-linux-gnu-thread-multi/auto
> /lms/CPAN/arch/5.32/x86_64-linux-gnu-thread-multi
> /lms/CPAN/arch/5.32/x86_64-linux-gnu-thread-multi/auto
> /lms/CPAN/arch/x86_64-linux-gnu-thread-multi /lms/CPAN/arch/5.32
> /lms/lib /lms/CPAN /lms /lms /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
> /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5
> /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32
> /usr/share/perl/5.32 /usr/local/lib/site_perl /config/cache) at (eval
> 916) line 1.
> [22-05-16 23:16:15.6871] Slim::Utils::PluginManager::load (323) Error:
> Couldn't load Plugins::SimpleLibraryViews::Plugin
> > > > 
> > 
> > What's the easiest way to work on developing a plugin in the Docker
> > container?
> > 
> > Thanks
> > 
> > Andy


------------------------------------------------------------------------
adhawkins's Profile: http://forums.slimdevices.com/member.php?userid=650
View this thread: http://forums.slimdevices.com/showthread.php?t=116387