Stan Pulsar wrote: 
> hi,
> here's the RESP I get in console when displaying the song info page
> where my link is.

Thanks for that. Looking at the response, the issue (for Material) is
that you have set 'type' to 'weblink' whereas Material expects the URL
to be *in* weblink. You have:


Code:
--------------------
    
  {   "actions":{
  "go":{
  "params":{
  "track_id":265873,
  "menu":"trackinfo",
  
"url":"file:///F:/Musique/02_albums%20divers/Chuck%20Berry%20-%20The%20Blues%20Collection/03_Maybellene.mp3",
  "item_id":"17"
  },
  "cmd":[
  "trackinfo",
  "items"
  ]
  }
  },
  "addAction":"go",
  "type":"weblink",
  "title":"Open in FileMaker",
  "image":null,
  "menu":[],
  "id":"item_id:17"
  }
  
--------------------


Material needs something like:

Code:
--------------------
    
  {
  ....
  "weblink":"your-protocol://path",
  "id":"item_id:17"
  ...
  }
  
--------------------


Even if setting "type:weblink" is correct, what URL is Material mean to
call?

@Michael - is "type:weblink" correct? Should Material handle that, and
just open the actions.go.params.url ?



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
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=111851

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

Reply via email to