rlem wrote: 
> Hi all,
> 
> I use the very handy shortcut/link
> 'http://{LMS-IP}/settings/index.html?p0=rescan' (http://xxx) to trigger
> a rescan (with a custom Material JSON action).
> 
> But does anybody know how trigger a *Only rescan online library *
> action?
> These do nothing, unfortunately:
> >   >   > 
  - http://{LMS-IP}/settings/index.html?p0=rescanonlinelibrary
  - http://{LMS-IP}/settings/index.html?p0=onlinelibrary
  > > > 
> Thanks,
> Randy

Seeing as you are using a Material action, you could just call
Material's javascript:


Code:
--------------------
    
  {
  "title":"Rescan online only",
  "script":"lmsCommand('', ['rescan', 'onlinelibrary']);",
  "icon":"link"
  }
  
--------------------



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

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

Reply via email to