cpd73 wrote: 
> 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.
  > > > 

Craig, thanks for the thoughtfulness, much appreciated.  Getting a
signal when the colors change or the player changes is very helpful to
me.  So glad you noticed my message and responded.  I never thought to
ask you.

Btw, wierd, but I notice if I only change color (without changing
theme), then for certain themes, my "NativeReceiver.updateToolbarColors"
function does not get called.  It works for Light, Darker, and Windows
10 Dark.  But does not work if the theme is Darker, Black, or Windows
10.

I'm not familiar with track downloading or what the use case is.  I'm
assuming that if I don't implement "NativeReceiver.download", then SLX
would not be able to support such track downloading.  Is this, like, how
you can download tracks from, say, Spotify and then play them if not
connected to internet?  

Again, thanks for all you do.

R Greg Dawson



Squeezelite-X
------------------------------------------------------------------------
rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=108550

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

Reply via email to