rgdawson wrote: > Craig, Thanks for this. I was able to create a Javascript extension in > Chromium Embedded Framework and material calls it. > > I also noticed ?nativeColors to signal when the colors change, which is > great as well. Cool, thanks. > > R Greg Dawson
There are two others: - '?nativeStatus' will cause Material to call this for each status update - however, I don't actively use this. - '?download=native' Material 2.6.0 will allow downloading of tracks. When a user selects tracks to download, NativeReceiver.download will be called with a JSON array of track details to download. If an app uses this, it can then call the 'downloadStatus()' javascript function with the list of downloads, and which ones are active. Material will then show a download button in its toolbar, clicking on this will list downloads in a dialog allowing users to cancel some or all of the download. Material will call 'NativeReceiver.cancelDownload' to inform the app to abort downloads. This will be used in v0.2.0 of the Material android APK. *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=108550 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
