mherger wrote: > > - Support SVG images supplied with plugins. If plugin image ends > with > > .svg.png then look for .svg - e.g. > > plugins/Example/html/images/ExampleLogo.svg.png maps to > > plugins/Example/html/images/ExampleLogo.svg > > Is there a discussion of this feature somewhere? I'm not sure I > understand it, but could imagine it could be useful for some of my > plugins.
No real discussion, but I implemented this with expectingtofly. Basically I wanted to reduce the amount of icon mapping that Material has to perform, and prevent having to create a new release of Material whenever there was a new plugin. I originally added the mapping as I (wrongly) assumed there would not be that many new plugins. The basic idea is that if your plugin has an icon with the file name "Blah_svg.png" then Material will assume it also has "Blah.svg" - which Material will use. When that SVG is loaded, Material will also change any "#000" fill/colour entries with the Marerial font colour. *Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here. ------------------------------------------------------------------------ cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686 View this thread: http://forums.slimdevices.com/showthread.php?t=109624 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins