Paul Webster wrote: > What would be the right way to get an icon that is held within the > plugin folders to appear in Material? > I know about the svg_png stuff but in this case I have an icon for > something lower down in the menu and I do not currently have an svg for > it. > > I tried specifying it as > /plugins/PluginName/html/filename.png > without any http stuff on the front. > That works in default skin - but in Material it results in a generic 404 > radio mast icon. > > I can see it is trying for the right file - but with _300x300_f added > before the final dot > Presumably this is requesting LMS to perform some image transformation. > If I take out the _300x300_f and use the URL in my browser then it works > fine.
You can pick one of Materials own icons by naming the png file to a convention. You need to put _MTL_icon_[name] somwhere in the file name. e.g. naming your png "paulsfile_MTL_icon_radio.png" would show the radio icon in material instead of the png. For a list of material icons you can choose look here : https://fonts.google.com/icons Stuart McLean EXPECTINGTOFLY PLUGINS : - *BBC Sounds* : https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin - *Virgin Radio (UK)* : https://github.com/expectingtofly/LMS_Virgin_Radio_Plugin - *Times Radio* : https://github.com/expectingtofly/LMS_TIMES_RADIO_PLUGIN - *Global Player (UK)* : https://github.com/expectingtofly/LMS_GlobalPlayer_Plugin For BBC Sounds help see the 'BBC Sounds Wiki' (https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin/wiki). ------------------------------------------------------------------------ expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263 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