BTW do I need a *'shutdownplugin' (https://github.com/AF-1/lms-ratingslight/blob/main/RatingsLight/Importer.pm#L42)* in importer.pm as well? If I have one I've noticed the scanner will call it once the scan is complete.
It's kind of obsolete by now. Unless you have to eg. write out some information on shutdown you don't need it at all. I'm not sure I've implemented it for any of my plugins.
"shutdownPlugin" is mostly a left over from earlier days when we tried to make plugins loadable on the fly, without restarting LMS. Loading would kind of work, but un-loading can't (with Perl).
_______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
