TomS wrote:
> That's very cool.
>
> Sorry for asking, but is there a few lines for actions.json that will
> add the player settings? I can see the icon should be music_note, but I
> can't figure out what the URL should be for the iframe (or what the call
> should be). Sadly I'm not a knowledgeable js programmer, but
> definitely know enough to break things.
>
> TomS
Ah! If you mean directly into LMS's player settings, then:
Code:
--------------------
{
"system":[
{
"title":"Server settings",
"script":"bus.$emit('dlg.open', 'iframe',
'/material/settings/server/basic.html', 'Server settings')",
"icon":"dns"
},
{
"title":"Player settings",
"script":"bus.$emit('dlg.open', 'iframe',
'/material/settings/player/basic.html?player=$ID', 'Player settings');",
"icon":"music_note"
}
]
}
--------------------
*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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins