![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
cordova-plugin-audiometadata
Advanced tools
BlackBerry 10 Community Contributed AudioMetaData API
#AudioMetaData Cordova/Webworks Plugin
This plugin is designed to be able to retrive the ID3 tag of a MP3 file. This tag contains information for the file such as title, genre, artist, year of production, track number on the album etc. For more info visit here for more information.
1.0.0 Initial Release
1.1.0 Ability to set Metadata tags
##Loading the plugin
Simply open up a terminal and perform the following commands while in your application path:
cordova plugin add cordova-plugin-audiometadata
```
##Calling The Extraction Functions
audioMetaDataGetMetaData(path, callBack);
where:
path: The path to your mp3 file callBack: The callback function to handle the data returned. eg: retrievedData(data)
audioMetaDataSetTagData(input);
where:
input: a json object containing the following information "path": path to the file "title": changing title "genre": changing genre "track": changing track number "year": changing year of the production of the song "album": changing album of the song "artist": changing the artist of the song
Follow is an example to change the songs title and artist
var data = { "path":"path/to/my/file.mp3", "title":"very nice", "artist":"yours truly" }
audioMetaDataRemoveTag(path);
where:
path: The path to your mp3 file
###Tested on
Z10 running v10.2
Passport running 10.3.1/10.3.2
Note: Some error occurring in reading some mp3 files, this could be the problem with the library it self. This needs more investigation.
##Final Notes
The same code used for the test application falls under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0 License</a>.
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
BlackBerry 10 Community Contributed AudioMetaData API
The npm package cordova-plugin-audiometadata receives a total of 1 weekly downloads. As such, cordova-plugin-audiometadata popularity was classified as not popular.
We found that cordova-plugin-audiometadata demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.