How do we register custom plugin with LMS the correct way?
On RPi / Debian I saved MyCustomConvert plugin in
Code:
--------------------
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/MyCustomConvert
--------------------
then restarted LMS from console window
Code:
--------------------
sudo service logitechmediaserver restart
--------------------
>From web interface 'Settings>Advanced>File types' I could now see my
changes but now I got a message that the server had to restart to use
the new settings. This before I've done any changes from Web GUI. *After
restart from the web interface I now find my MyCustomConvert directory
have been deleted.*
Then I tried copying 'MyCustomConvert' to
Code:
--------------------
/var/lib/squeezeboxserver/cache/DownloadedPlugins
--------------------
and restarted LMS in hope I could install it from the web GUI. But it
didn't show up.
Finaly I ended up copying 'MyCustomConvert' to
Code:
--------------------
/var/lib/squeezeboxserver/Plugins
--------------------
Restarted LMS. Back in web GUI I now see my plugin enabled and from
'Settings>Advanced>File types' my changes do show up as intended.
Are we to understand the '~/InstalledPlugins/Plugins/' directory are
protected/maintained and ment only for official plugins?
Will content in '/var/lib/squeezeboxserver/Plugins' survive an LMS
upgrade?
This is my install.xml
Code:
--------------------
<?xml version='1.0' standalone='yes'?>
<extension>
<name>Custom convert plugin</name>
<creator>SNW</creator>
<id>[28ea6240-9c42-11e2-9e96-1800280c9b74]</id>
<module>Plugins::MyCustomConvert::Plugin</module>
<targetApplication>
<id>SqueezeCenter</id>
<maxVersion>*</maxVersion>
<minVersion>7.7</minVersion>
</targetApplication>
<type>2</type>
<version>0.0.1</version>
</extension>
--------------------
------------------------------------------------------------------------
zzzap's Profile: http://forums.slimdevices.com/member.php?userid=31947
View this thread: http://forums.slimdevices.com/showthread.php?t=114176
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter