AudioMetadata
This plugin will extract Artist and Title metadata from an url of a live MP3 http audio stream in form of json.
Install
Assuming PhoneGap CLI is installed, from the command line.
phonegap local plugin add https://github.com/shahidj/AudioMetadata
PhoneGap Build
Add the following xml to your config.xml to always use the latest version of this plugin:
or to use an specific version:
More informations can be found here https://build.phonegap.com/plugins/ .
How to Use
It supports Phonegap 3.0 and above
This plugin will pass stream url and will retun metadata in form a json object.
From index.js you may call plugin by passing parameters.
var returnSuccess='success'; var StreamUrl='http://url:port/stationid'; var { console; console; }; var { console; };AudioMetadata;