in reply to Re: "Intelligent" ID3v2 Tagger
in thread "Intelligent" ID3v2 Tagger

I have a similar problem regarding the naming convention, I have:

/(artist)/(album)/(tracknum) - (title)

What I thought might be better would be to have a templating string, then that could be used to extract the relevant fields. Thus using keywords, such as ARTIST, ALBUM, etc you should be able to extract the right field from the right portion of the path. So my template would look like:

/ARTIST/ALBUM/TRACKNUM - TITLE

I already do the extraction using File::Find::Rule (ain't it grand ... thanks Rich), but haven't gotten round to doing all the MP3 tagging. So I'll be having a jolly good play with this script once I'm back from YAPC::Europe.

A fine effort.

--
Barbie | Birmingham Perl Mongers | http://birmingham.pm.org/

Replies are listed 'Best First'.
Re: Re: Re: "Intelligent" ID3v2 Tagger
by The Mad Hatter (Priest) on Jul 21, 2003 at 18:34 UTC
    Yeah, this script is by far no where near complete, but it works for me at the moment. I don't know if I plan on extending it for format strings, etc, but at least it provides somewhat of a base...

    Now that I think of it, it would also be nice to be able to exclude directories...hmmmmm