Is it possible to get info from a file on the client side without uploading the file?

Viewed 8447

I am allowing my users to upload mp3 files just so I can read the metadata and extract the Song Title and Singer Name.

At the moment I am uploading the file and using getId to read the meta data. The upload of course takes a lot of resources and bandwidth. And it seems kind of wasteful to upload the mp3s since all I need are 2 pieces of information and I won't even be doing anything with the file itself. So I delete it afterwards.

Is it possible to get these 2 pieces of information on the client side without copying the file to my server?

3 Answers
Related