Yokemate of Keyboards
Posts: 2057 from 2003/6/4
Quote:
jPV schrieb:
The hardest part for you is probably to get the title out of the tag reliably, at least when coding with Hollywood if you don't have code to extract data from tags. There's A-MC's ID3Tag library for Hollywood, but it's little limited (supports v1 and v2.3.0 tags only) and little buggy (calculates tag sizes wrong), but if all the tags in MP3 files are in the supported versions, it probably works fine and would make the task easier for you.
I coded an MP3 tag editor myself and that library simply wasn't enough, and I had to code support for more versions (v1.0, v1.1, v1+, v2.2.0, v2.3.0, and v2.4.0) by myself from scratch. It's a bit mess with all those versions and encodings you might come up, and some encoders/editors stretching the standard etc :) Very time consuming stuff to get it right and tested with all cases...
Soo... I also might do something for the issue, but if that A-MC's library or something else would be enough, and you would like to add this feature to Exutil, it would be nice... I don't have time for new projects for at least couple of weeks either :)
jPV, thank you for that information. I actally hadn't thought much about how to extract information from the files yet. I thought I 'd probably go the route as I have done with getting the exif information: read a bit about the format, do a few assumptions and then do a few simple pattern matching/string processing functions. For the exif stuff this worked rather fine albeit I got into issues whith the extraction of more detailed (and not needed) information (e.g. gps position).
Maybe I am lucky, in contrast to an mp3 tag editor I only need to sniff around a bit - no need to modify anything. That's easier.
--
http://via.bckrs.de
Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
...and Matthias , my friend - RIP