Back | Reverse |

What function?
Link | by jarudin on 2004-05-27 05:14:37
What is the function you used to get the 'artist', 'track length' and such from the songs? I've already searched for a function that will return additional information about a song but I haven't found a usefull one yet .. how do you do it?
Or is it that you manually add every bit of information into a PERL/SQL db O_o?

Re: What function?
Link | by gendou on 2004-05-27 17:39:04
i do indeed input all the information by hand.
if you really want to, the information about the song is suposed to be kept in the ID3 tag.
to find the length of a song you can simply do arithmatic comparing the length of the mp3 file and the bitrate -- assuming the mp3 is not variable bit rate -- and assuming you know the offset of the bitrate. in id3 v2 ataining such information is a pretty easy hack, but to be fully compatible you should download the id3 library from someplace on sourceforge.


Re: What function?
Link | by jarudin on 2004-05-29 08:31:44
Did some research .. Shit thats complicated O_O I think I understand why you chose to do it manually ^_^

Back | Reverse |

Copyright 2000-2025 Gendou | Terms of Use | Page loaded in 0.0007 seconds at 2025-05-29 01:42:11