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

Michael Herger <slim-b/[email protected]> Tue, 17 May 2022 16:55:32 +0200
Newsgroups gmane.music.equipment.slimdevices.devel
Message-ID <[email protected]>
>> 	<importmodule>Plugins::SimpleLibraryViews::Plugin</importmodule>
> 
> Will that be picked up just by dropping the module source into
> /config/cache/Plugins? Or does the server need to 'install' the module
> to pick that up?

This line will cause the scanner to call 
Plugins::SimpleLibraryViews::Plugin->initPlugin(). But it will NOT 
automatically create a scan task. Therefore you should call 
Slim::Music::Import->addImporter() to tell the scanner that you have an 
importer, what type it is (file importer, post processing etc.), and how 
to call it.

See eg. 
https://github.com/Logitech/slimserver/blob/953f15f231476452e50913f06e2b3f4330091976/Slim/Plugin/ExtendedBrowseModes/Libraries.pm#L18