While I remember it a little more info on the plugin manager process.

All the heavy work is done at LMS startup.
>From the Settings/Plugins tab - a plugin state is changed. Each plugin
has a state (kept in prefs/state.prefs) and can be: disabled, enabled,
needs-enable, needs-disable, needs-install, needs-uninstall

A "needs" state needs a LMS Restart to take effect.

A plugin updates uses the "needs-install" state.  Plugin manager checks
the "DownloadedPlugins" and if it find the right ZIP - check SHA and
then installs.

So when a Plugin download is requested in LMS from Settings/Plugins tab
- it only request a download of ZIP. If Download completes within
allotted time - Plugin downloader will check size and SHA  and if
invalid file will be deleted. If valid plugin ZIP will not be processed
in any way - that happens on Restart.

Could the current advice be for huge plugin (or problematic ones)  -
never use "Restart Now" - choose the "Restart Later" option and check
the DownloadedPlugins directory


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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

Reply via email to