Access information about the media currently playing
The playingtrack object provides a series of properties that contain information about media currently played by the application. Please note that this object currently only works with stations hosted by FlyCast and played with the startStation or startShoutcast commands. Not all properties may have values for all streams. An event is fired when the currently playing track changes.
IMPORTANT: The Intel XDK legacy build options that support the APIs described in this document, have been deprecated and will be retired. Some of the APIs described in this document have been converted into Cordova-compatible plugins and are available in open-source repositories hosted on the 01.org site. Those open-source repos can be included as third-party plugins in your Cordova app and contain all the pertinent documentation regarding the APIs that have been ported to Cordova (see Adding Plugins to Your Intel® XDK Cordova* App for information on including third-party plugins as part of your app.) Note that not all of the APIs described in this document have been converted to Cordova-compatible plugins, see the individual 01.org repos for API details.
This property returns an album the currently playing track might be found on, if that information is available.
This property returns the artist of the currently playing track, if there is an artist available.
This property returns a URL of the album cover image for the currently playing track. In general the image returned is 160x160 pixels. If no image is available, the imageurl property will be an empty.
This property returns the title of the currently playing track.