sh1ntomi wrote: 
> Craig, Thanks for your input on my other thread to use material skin
> actions.json to execute a shell script.
> 
> I have now created file named "actions.json" within a "material-skin"
> sub-folder in my LMS's preferences folder - a simple iframe/weblink to
> see if the link is displayed under the top level of the main menu
> (accessed via the three-dotted icon top right). However I still dont see
> the links getting displayed. Wondering if I am doing something wrong
> here as Material is not picking up the .json. I have tried restarting
> the server a few times.
> 
> I have LMS(V 8.1.1) and Squeezelite running on a raspberry pi(3b) with
> 'nanosound DAC2' (https://nanomesher.com/nanosounddac2/) .
> 
> 

I think you have your commas in the wrong place.

Try this... 

Code:
--------------------
    {
  "system":[
  {
  "title":"A page to embed in Material",
  "iframe":"http://www.nhk.jp";,
  "locked":true,
  "icon":"link",
  "toolbar":{
  "title":"Title \u2022 $NAME"
  },
  {
  "title":"NHK - A page to launch in a new window/tab",
  "weblink":"http://www.nhk.jp";
  }
  ],
  }
--------------------


you need a comma after the bracket },  when there is a separate command
in a  section and the final bracket in the section will not have a comma
}


------------------------------------------------------------------------
shinedou's Profile: http://forums.slimdevices.com/member.php?userid=72027
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

Reply via email to