tags:

views:

132

answers:

3

Hi friends,

Is it possible to modify the properties of the mp3 files. The properties such as artist, album, title and so on. I need to alter those fields.

Only in javascript. Please help me.

A: 

Probably not. Although my experience with JavaScript is limited, I believe it runs in a sandbox and it's not allowed to perform operations outside of the web browser.

Thomas Owens
A: 

This link should provide some hints and code you could use:

Ajaxian: Reading ID3 tags with JavaScript

Here is a demo, which uses a file you have to upload.

splattne
+1  A: 

No, the Javascript language doesn't contain functions to read to and from files which is required to modify ID3-tags.

However, depending on the Javascript engine and environment, such functions may or may not be available in the library that engine/environment provides. Eg. it is possible to do this in a Javascript running under Rhino, since Rhino exposes the classes included with Java.

svinto