For Material, create a file named "actions.json"  within a sub-folder
named "material-skin" within your LMS' prefs folder  - e.g.
"/usr/local/lms/prefs/material-skin/actions.json" - with the following:


Code:
--------------------
    
  {
  "allplayers":[
  {
  "title":"Stop random mix",
  "script":"lmsCommand('$ID', ['randomplay', 'disable'])",
  "icon":"stop"
  }
  ]
  }
  
--------------------


This will add a 'Stop random mix' entry to the now-playing cover-art
context-menu, and to each player's menu in the 'Manage players' dialog.
For more details, refer to
https://github.com/CDrummond/lms-material/wiki/Detailed-Information



*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=114231

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to