PDA

View Full Version : Tagging an Album List on foobar2000


RainDawg
2004-12-02, 05:26 PM
I was asked to give some information on how I tag and setup my files with foobar2000, so here goes. This is, by no means, a definitive tutorial, but just some samples to get people stepping in the right direction. It would take several days to put together a really foolproof guide for all of these, but I wanted to get this out to some people, so I made it quick and chockfull of pictures. It might take some time to get used to all of this, but I just spent two hours making this guide, so I fully expect everyone to devote equal time to figuring out this program....once you do, it will be worth it, I promise.

First, put a list of files that you want tagged into the foobar2000 playlist window. Right click on them, select masstagger, and then "edit tags"

http://www.audiophilia.net/images/foobar/foobar1.jpg

The script that I have made, shown in the screencap below, shows all of the necessary tags to get my album list window to work properly. You can, of course, add or remove any of them as you see fit.

Artist = The main artist for this album
Albumartist = The artists you'd like this to show up under in the albumlist. You cannot add multiple artists in this dialog, we'll cover that in a minute (a weakness of masstagger here...)
Album = album
Date = YYYY-MM-DD...my album list sciprt sorts by this, so you'll want to set this properly
Genre
Input Data = I use this to add the song titles. Each track will get one line, sequentially. I copy/paste the setlist data into this window, and then edit the string above it to tell masstagger how to interpret each line.
Format "TITLE" using "$caps($trim(%title%))" = This will capitalize the first letter from each word in the title, and trick leading and trailing spaces. Makes editing the text in each line easier ;)
Auto Track Number = self-explanatory for multidisc sets, I number them sequentially from 1-xx...technically you could wrestly with giving each track a disc# and a track#, but that's more shit than it's worth. Just number them in order from start to finish....
Legality = Bootleg or Official

http://www.audiophilia.net/images/foobar/foobar2.jpg

Now press "Run" to apply all the tags. When you're satisfied, close masstagger, and you have nicely tagged files.

http://www.audiophilia.net/images/foobar/foobar4.jpg

If you want to add multiple instances of the albumartist tags, required for the album to show up under multiple names in the album list, you'll need to head back to the main playlist window, select all of the files, right click, and select "properites". It will list all of the tags currently on the file. Double-click the "albumartist" field and add whatever extra artists you wish to, separated by a "\" character.

http://www.audiophilia.net/images/foobar/foobar10.jpg

Now to setup the database. In the preferences dialog, select "database" from the list of options. Tell it what folder is the master for your audio files. You can also tell it what filetypes to add if you want. When you're done, you will need to shutdown and restart foobar2000. Then, re-enter the database dialog and press "scan". Depending on how many files you have, this will take several minutes to gather the metadata for every file.

http://www.audiophilia.net/images/foobar/foobar5.jpg

Now to setup the album list. Again, go into the preferences dialog, and select album list. In this screencap, you'll see all of my formatting scripts. The one I am going to be displaying later on this page is here:

albumartist|'('$if3(%date%,%year%,'no date')')' $if($greater($meta_num(albumartist),3),'Various Artists',$if(%band%,%artist%' & '%band%,$meta_sep(artist,'; '))) '"'%album%'" ['%legality% $upper($ext(%_path%))']'|$num(%tracknumber%,2)'. '$if($greater($meta_num(albumartist),3),$if(%band%,%artist%' & '%band%,$meta_sep(artist,'; '))' - ',)%title%' ['%__bitrate%'Kbps]'

http://www.audiophilia.net/images/foobar/foobar6.jpg

Save that script, then head to the album list.

http://www.audiophilia.net/images/foobar/foobar7.jpg

Mine looks like this:

http://www.audiophilia.net/images/foobar/foobar8.jpg

And then a glance at what a nicely organized artist entry is. Notice how they say what the "main artist" is at the beginning of each entry. There is one in there called "Rock of Ages" that is actually an album by The Band. Since Dylan appears on it, I added him has an "albumartist" previously, and now it shows up under both artists in the Album List.

http://www.audiophilia.net/images/foobar/foobar9.jpg

Reflection
2004-12-02, 05:37 PM
Thanks RainDawg, that looks great and it's very much appreciated!

Can't wait to dig into it later tonight.

Thanks again.

Five
2004-12-02, 05:55 PM
Very nice! I'll scope this out when I tag my next show.

dorrcoq
2004-12-02, 06:13 PM
damn, who would have ever thought there was so much to learn! HAHAHA

RainDawg
2004-12-02, 06:21 PM
Dennis...this is just the tip of it. Between this and Five's SHN > FLAC tutorial you have the tip of the foobar2000 iceberg.....it just gets bigger and more impressive the deeper you get.

dorrcoq
2004-12-02, 08:38 PM
Dennis...this is just the tip of it. Between this and Five's SHN > FLAC tutorial you have the tip of the foobar2000 iceberg.....it just gets bigger and more impressive the deeper you get.

Uhhhhh, is that supposed to make me feel better? :hmm: :D

dorrcoq
2004-12-02, 08:40 PM
it's actually pretty amazing how powerful and effective some of these free programs are

jazzbo
2004-12-02, 11:03 PM
http://www.audiophilia.net/images/foobar/foobar2.jpg


Actual track listing for this show:

1. announcement
2. Who Do You Work For?
3. Broken Shadows
4. Street Woman
5. Song for Che
6. Rock the Clock

Five
2004-12-02, 11:36 PM
Actual track listing for this show:

1. announcement
2. Who Do You Work For?
3. Broken Shadows
4. Street Woman
5. Song for Che
6. Rock the Clock
:lol not what I was expecting to see!

crazee_canuck
2004-12-03, 12:22 AM
If you want to get fancy with the formatting, see http://pelit.koillismaa.fi/fb2k/ .

Some pretty complex configs there...

RainDawg
2004-12-03, 07:16 AM
Actual track listing for this show:

1. announcement
2. Who Do You Work For?
3. Broken Shadows
4. Street Woman
5. Song for Che
6. Rock the Clock

Damn....thanks for the correction! I just grabbed that off of EZT recently, and that was the setlist they had. I'm correcting it now....

jazzbo
2004-12-03, 08:05 AM
Damn....thanks for the correction! I just grabbed that off of EZT recently, and that was the setlist they had. I'm correcting it now....

Right... this actually gets to one my pet peeves about ezt -- trying to follow things like setlist, date or venue corrections in the comments on a torrent. I had just happened to look in the last day or so on that exact show and noticed a corrected setlist was posted on that torrent. The problem is that if I hadn't looked before the torrent went off the tracker (and the comments were deleted), I probably wouldn't have known either.

RainDawg
2004-12-03, 08:58 AM
Right... this actually gets to one my pet peeves about ezt -- trying to follow things like setlist, date or venue corrections in the comments on a torrent. I had just happened to look in the last day or so on that exact show and noticed a corrected setlist was posted on that torrent. The problem is that if I hadn't looked before the torrent went off the tracker (and the comments were deleted), I probably wouldn't have known either.
What really gets me is that you can's subscribe to read the torrents comments, you only get a message that a comment was added if you posted the torrent or if your comments were quoted. I always subscribe to threads here so that if someone posts an update, I get it. For EZT, if it's not there when I find the seed, chances are I'm not going to get the corrections.

Thanks for the eagle-eye jazzbo...I appreciate the correction.

feralicious
2004-12-03, 11:45 AM
damn, who would have ever thought there was so much to learn! HAHAHA

Well when you're starting with an empty vessel... ;)

Thanks again for more info RainDawg.

ssamadhi97
2004-12-11, 06:57 PM
You should really take a look at foo_tradersfriend, a plugin that was made specifically for parsing "etree-style" show info text files and adding relevant metadata to files.

plugin homepage (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/html/#tradersfriend)

discussion thread on hydrogenaudio.org (http://www.hydrogenaudio.org/forums/index.php?showtopic=11995&)


Give it a whirl and please do post comments and feature requests on HA if you have any. The developer is currently working on an updated/revamped version, so I'm sure he'll to take requests into consideration (if they make sense and fit into the design, anyway ;)).

feralicious
2005-03-07, 12:14 AM
Stupid question... where do you put the dll files when you d/l 3rd party plug-ins?

Suggestion @<hidden> how about making a field for the artist abbreviation (Tom Waits = tw or twaits) so you can use the tags for renaming files automatically into etree format? I'm still trying to figure out how to rename the files after they're tagged. I didn't miss that part did I?

Five
2005-03-07, 12:44 AM
assuming foobar2000 is installed on drive C:

C:\Program Files\foobar2000\components

to rename files after they're tagged, right-click on an individual file and select "show file info (special)". be sure to hit the "update" button before you close the window.

hope this helps ;)

RainDawg
2005-03-07, 08:42 AM
To rename files, right-click on files in the playlist > masstagger > Move, rename, or copy files.

You can save certain filters in there so that you can always rename files based on a certain configuration.

pmonk
2005-03-07, 02:13 PM
I was just wondering - is it bad manners to download a show in which the person never bothered naming the tracks (i.e. Track 01, Track 02, etc...) and then add tags to each track and then torrent the show elsewhere???

RainDawg
2005-03-07, 02:21 PM
I don't think it's bad manners...I do it all the time. The nice thing is that adding tags does not alter the audio fingerprint (FFP) so you can add tags, reseed, and not alter the checksum. Equally as important is that the next guy can decide he thinks your tagging system sucks, change it to his own way, and the files STILL pass the checksum.

So no, it's not bad practice to edit/add tags and pass on the files. If the audio content remains intact, it's ok.

Five
2005-03-07, 08:20 PM
To rename files, right-click on files in the playlist > masstagger > Move, rename, or copy files.

You can save certain filters in there so that you can always rename files based on a certain configuration.
thanks I misread and responded on how to rename tags after files have already been tagged.

feralicious
2005-03-08, 12:28 AM
Okay, so I set up the script like Stephen, then I added a couple things of my own in order to try to rename the files in etree format:
(the file is already renamed in this pic, I did it manually, I just used it to show the metatag script)

http://img188.exs.cx/img188/4876/metatag1dc.jpg (http://www.imageshack.us)

But when I go to rename the files mine doesn't work like the pre-existing ones do:

pre-existing:

http://img188.exs.cx/img188/1057/good7fj.jpg (http://www.imageshack.us)

mine:

http://img188.exs.cx/img188/7315/bad8zo.jpg (http://www.imageshack.us)

Does anyone know how to do this correctly and how to make it not have underscores between the fields used?

Five
2005-03-08, 12:35 AM
not sure...

I've been using Oscar's File Renamer
http://www.mediachance.com/free/renamer.htm

there's some more listed here:
http://www.freeware-guide.com/dir/util/rename.html

if there's a way to configure foobar2000 to do it that would be cool... where's RainDawg when we need him?

ssamadhi97
2005-03-08, 07:02 AM
mine:

http://img188.exs.cx/img188/7315/bad8zo.jpg (http://www.imageshack.us)

Does anyone know how to do this correctly
Well first of all your File naming scheme seems to be broken. Looks like the Format is the same as the Display name - but while the Display name can be arbitraty, the Format string needs to express what you want the file name to be like in Tagz code (Tagz is the name of the formatting language used by foobar)

I'm guessing that the format you actually wanted is "etree style"; for this change the Format to:%abbr%%date%t$tracknumber(2)

and how to make it not have underscores between the fields used?
The underscores are there because your Format contains slashes which are invalid characters for file names in Windows (and pretty much all other operating systems as well). Such invalid characters (like /,\,:,?,*) are converted to underscores when renaming.

Slashes and backslashes are sort of a special case because they are used as folder name delimiters in path names. You can use them in the renaming Format to automagically create subfolders based on tag values if you tick that Create subdirectories... check box in the renaming dialog.

MourningStar
2007-12-01, 11:00 PM
The screenshots on the 1st (initial) post are little white boxes /red 'x's in them!

cmaz
2008-07-25, 01:13 PM
I was asked to give some information on how I tag and setup my files with foobar2000, so here goes. This is, by no means, a definitive tutorial, but just some samples to get people stepping in the right direction. It would take several days to put together a really foolproof guide for all of these, but I wanted to get this out to some people, so I made it quick and chockfull of pictures. It might take some time to get used to all of this, but I just spent two hours making this guide, so I fully expect everyone to devote equal time to figuring out this program....once you do, it will be worth it, I promise.

First, put a list of files that you want tagged into the foobar2000 playlist window. Right click on them, select masstagger, and then "edit tags"

http://www.audiophilia.net/images/foobar/foobar1.jpg



Any chance that this could get reposted? The image URL's are no longer valid?

Thanks!

jameskg
2008-07-25, 01:19 PM
fuck it.. just get "Tag&Rename" and you can do anythign you need to...

Five
2008-07-25, 02:05 PM
I wish I had the images to re-post :(

maybe someday I'll try to revamp this thread, I still use fb2k for tagging and its great.