One plugin, 2 skins?
cpd73 <cpd73.aqxz4n-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Sun, 18 Sep 2022 09:50:58 +0000
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
I'm implementing a 'party' mode for MaterialSkin - sort of like iPeng Party. The general idea is that Material will have 2 skin entries in the "Interface" section; "Material Skin" and "Material Skin (Party)" When the user selects "Material Skin (Party)" as the default skin other user's can then just navigate to "http : // server:9000" and "Material Skin (Party)" would then redirect to "http : // server:9000/material/?party". The issue I have is registering 2 skins from the one plugin. Currently the plugin has "MaterialSkin/HTML/material/" - which the UI displays as "Material Skin". But how can I register a second? I've hacked around this by creating a "MaterialSkin/HTML/Material Skin (Party)/" folder - and the Interface sections shows this as "Material Skin (Party)", as I think its just using the directory name. However this leads to translation issues - as this new name is non-translatable. *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=116812