Skip to main content

Topic: Capitalize first letter in ID tags (Read 9940 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • darin
  • [*][*][*]
Capitalize first letter in ID tags
I recently ripped and FLACed about 180 CD's and I couldn't figure out why, but only the first word in the ID tag information was capitalized and the rest were in lower case. Then I realized I that I had the Box checked for that option in FLAC Frontend after I compressed all those CD's. Well, now I'm really stuck. I am a perfectionists with my music files and I need the first letter in every word capitalized in the metadata information. Is there a way to do this batch style? I checked into Foobar but it doens't have an option for batch editing ID tag information for just capitalizeing the first letter in every word. What can I do?

Thanks,
-Darin
Cowon Iaudio X5 30 gig. It rocks!

  • kjoonlee
  • [*][*][*][*][*]
Capitalize first letter in ID tags
Reply #1
In foobar2000, select all your files.
Bring up the properties dialog to see which tag field names are being used. Write them down.
Bring up the masstagger. Use $caps(%fieldname%) and overwrite the existing FIELDNAME contents. Repeat as neccessary.
Run the masstagger.

Not the best way, but it's doable.

  • SebastianG
  • [*][*][*][*][*]
  • Developer
Capitalize first letter in ID tags
Reply #2
Quote
In foobar2000, select all your files.
Bring up the properties dialog to see which tag field names are being used. Write them down.
Bring up the masstagger. Use $caps(%fieldname%) and overwrite the existing FIELDNAME contents. Repeat as neccessary.
Run the masstagger.

Not the best way, but it's doable.
[a href="index.php?act=findpost&pid=247525"][{POST_SNAPBACK}][/a]


Yeah. I made such a preset which capitalizes %album%, %artist% and %title%.
It's pretty handy. Most of the net-label releases on archive.org use all lower case letters and i keep retagging'em. But I suggest making use of $caps2() instead since it only changes lower case to uppercase for the first letters. $caps() also changes uppercase letters to lowercase letters - See Foobar's titleformat_help.html.

$caps(lala MUHA)  -> Lala Muha
$caps2(lala MUHA)  -> Lala MUHA


SebastianG

  • darin
  • [*][*][*]
Capitalize first letter in ID tags
Reply #3
I must be doing something wrong, do I go into Masstagger>Edit Tags>Add>Format values from other fields?

Thanks,
-Darin
Cowon Iaudio X5 30 gig. It rocks!

  • SebastianG
  • [*][*][*][*][*]
  • Developer
Capitalize first letter in ID tags
Reply #4
Quote
I must be doing something wrong, do I go into Masstagger>Edit Tags>Add>Format values from other fields?

Thanks,
-Darin
[a href="index.php?act=findpost&pid=248030"][{POST_SNAPBACK}][/a]


my preset looks like this:
Code: [Select]
-Actions to perform-
Format "ALBUM" using "$caps2($if2(%album%,))"
Format "TITLE" using "$caps2($if2(%title%,))"
Format "ARTIST" using "$caps2($if2(%artist%,))"


The $if2() stuff prevents setting the field to "?" in case the field
hasn't been set yet. (sometimes %album% isn't set)


HTH,
SebastianG
  • Last Edit: 16 October, 2004, 07:26:16 AM by SebastianG

  • darin
  • [*][*][*]
Capitalize first letter in ID tags
Reply #5
are you useing the graphic user interface foobar 2000 or is there a different version? I am useing the GUI and I don't see those options anywhere.

Thanks,
-Darin
Cowon Iaudio X5 30 gig. It rocks!

  • darin
  • [*][*][*]
Capitalize first letter in ID tags
Reply #6
Wow...I finally got it! Thanks...this is going to save me alot of work.

-darin
Cowon Iaudio X5 30 gig. It rocks!

  • eahm
  • [*][*][*][*][*]
Capitalize first letter in ID tags
Reply #7
7 years later... is there a way to capitalize only the first letter of a tag?

For example:

Pink Floyd - Wish You Were Here -> Pink Floyd - Wish you were here

Any other suggestion? Is it better to capitalize every first letter or just the first one? What do you guys use and why? I need to use one script once for all.

Thanks.
  • Last Edit: 01 August, 2013, 06:27:00 PM by eahm

  • db1989
  • [*][*][*][*][*]
  • Global Moderator
Capitalize first letter in ID tags
Reply #8
I’ll move this to FLAC since that was the original subject. But is your question more general? Which format(s) of tag do you want to transform? And are you asking with specific reference to foobar2000?

Anyway, the multi-format MP3tag has what you are looking for, which is called sentence case. http://forums.mp3tag.de/lofiversion/index.php/t12041.html Other programs probably do, too. foobar2000 does not have a native function for this purpose; it might be possible to cook one up, but when there are other programs that can do this out-of-the-box, it may not be worth the hassle.

  • eahm
  • [*][*][*][*][*]
Capitalize first letter in ID tags
Reply #9
Thanks for that page db1989.

Only foobar2000 and only %title%.

I've decided to do $caps2(%title%) (or Right click -> Capitalize) since titles may have name of persons and they have to be capitalized anyway. This way I don't check every single file for confirmation.
  • Last Edit: 01 August, 2013, 07:17:57 PM by eahm

  • d125q
  • [*][*]
Capitalize first letter in ID tags
Reply #10
7 years later... is there a way to capitalize only the first letter of a tag?

If you are not comfortable using the Mp3tag script linked by db1989 (I, for one, prefer to use foobar2000 for everything and shun other software), here's a Masstagger script that achieves this (personally, I use it while tagging foreign songs which should actually be capitalized as such; English titles should always be capitalized following these guidelines):

$puts(metadata_field,$upper($trim(%field%)))$substr($get(metadata_field),1,1)$lower($substr($get(metadata_field),2,$len($get(metadata_field))))

Replace %field% as desired.

Là Où Naissent Les Couleurs Nouvelles ---> Là où naissent les couleurs nouvelles

  • eahm
  • [*][*][*][*][*]
Capitalize first letter in ID tags
Reply #11
I ended up using this: http://forums.mp3tag.de/index.php?showtopi...ost&p=53021. This one is spectacular but I have to verify with services like MusicBrainz just to see what may change if I check every album online.

What I didn't think before starting the process is that I have a folder with only Italian music and that one is not being renamed. I have to modify the script with the few words I want to change.
  • Last Edit: 02 August, 2013, 01:52:17 AM by eahm