Page 1 of 1

Add icons to Python plugin

Posted: Sunday 22 January 2017 20:40
by tester22
Hi @Dnpwwo.

I am expanding the plugin I have written for Sonos and would like to add different icons based on what hardware the user is having.
In the documentation there are one reference to using Image (and an number).

Are you planning to let the developer add a local image as part of the plugin?

Re: Add icons to Python plugin

Posted: Monday 23 January 2017 12:40
by Dnpwwo
@tester22,

One of the reasons plugins were moved to their own folder was to allow for additional files to be associated with them. Icons was one of the files types that triggered this change.

That said, I don't think the existing functionality is mature enough for us to look to add features just yet. For this to added this we would need to work out a way to trigger the icons being moved to a folder where the webserver would be able to pick them up, they would also need to work in with the web front end. Not too hard but will need some clear head space.

If you have time and knowledge to think about this I'm open to suggestions on how this could work :!: