Forum Moderators: coopster

Message Too Old, No Replies

PHP and mp3s

Is it possible to read idv3 information

         

psyaon

1:06 pm on Apr 14, 2005 (gmt 0)



Hi all,

Hope somebody can either help with this or point me in the right direction or tell me that it cant be done.

I have a fairly large music collection in the form of mp3, what i am wanting to do is store all the tracks, albums and artists in a mysql database. Then manipulate to the data to a presentable format. What i wanted is a php script that would be able to read the data from the idv3 tag in mp3 and then input into the mysql database, to save inputing the data.

Any advice would be appreciated

Thanks In Advance

Psyaon

xeonaphobe

1:55 pm on Apr 14, 2005 (gmt 0)

10+ Year Member



I believe you might want to look into using the pack and unpack functions for this...
I'm pretty sure it can be done.

mcibor

7:23 pm on Apr 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld!

There's some function to read mp3:
[pl.php.net...]
But a nice feature to handle Id3tag is to get support from Unix mp3info command into a returning exec parsing.

Hope this helps
Michal Cibor

PS Some already made function to read and write id tags:
[phpclasses.php-start.de...]