IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Capitalize first letter in ID tags, made a stupid mistake
darin
post Oct 12 2004, 23:42
Post #1





Group: Members
Posts: 204
Joined: 26-January 03
From: Texas
Member No.: 4729



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!
Go to the top of the page
+Quote Post
kjoonlee
post Oct 13 2004, 10:31
Post #2





Group: Members
Posts: 2526
Joined: 25-July 02
From: South Korea
Member No.: 2782



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.


--------------------
http://blacksun.ivyro.net/vorbis/vorbisfaq.htm
Go to the top of the page
+Quote Post
SebastianG
post Oct 14 2004, 19:39
Post #3





Group: Developer
Posts: 1318
Joined: 20-March 04
From: Göttingen (DE)
Member No.: 12875



QUOTE (kjoonlee @ Oct 13 2004, 01:31 AM)
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.
*


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
Go to the top of the page
+Quote Post
darin
post Oct 16 2004, 00:23
Post #4





Group: Members
Posts: 204
Joined: 26-January 03
From: Texas
Member No.: 4729



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!
Go to the top of the page
+Quote Post
SebastianG
post Oct 16 2004, 12:24
Post #5





Group: Developer
Posts: 1318
Joined: 20-March 04
From: Göttingen (DE)
Member No.: 12875



QUOTE (darin @ Oct 15 2004, 03:23 PM)
I must be doing something wrong, do I go into Masstagger>Edit Tags>Add>Format values from other fields?

Thanks,
-Darin
*


my preset looks like this:
CODE
-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

This post has been edited by SebastianG: Oct 16 2004, 12:26
Go to the top of the page
+Quote Post
darin
post Oct 22 2004, 07:12
Post #6





Group: Members
Posts: 204
Joined: 26-January 03
From: Texas
Member No.: 4729



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!
Go to the top of the page
+Quote Post
darin
post Oct 29 2004, 07:12
Post #7





Group: Members
Posts: 204
Joined: 26-January 03
From: Texas
Member No.: 4729



Wow...I finally got it! Thanks...this is going to save me alot of work.

-darin


--------------------
Cowon Iaudio X5 30 gig. It rocks!
Go to the top of the page
+Quote Post
eahm
post Aug 1 2013, 23:23
Post #8





Group: Members
Posts: 1063
Joined: 11-February 12
Member No.: 97076



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.

This post has been edited by eahm: Aug 1 2013, 23:27


--------------------
/lwAsIimz
Go to the top of the page
+Quote Post
db1989
post Aug 1 2013, 23:32
Post #9





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



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.
Go to the top of the page
+Quote Post
eahm
post Aug 1 2013, 23:35
Post #10





Group: Members
Posts: 1063
Joined: 11-February 12
Member No.: 97076



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.

This post has been edited by eahm: Aug 2 2013, 00:17


--------------------
/lwAsIimz
Go to the top of the page
+Quote Post
d125q
post Aug 2 2013, 00:36
Post #11





Group: Members
Posts: 57
Joined: 4-May 13
Member No.: 107966



QUOTE (eahm @ Aug 2 2013, 00:23) *
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
Go to the top of the page
+Quote Post
eahm
post Aug 2 2013, 06:39
Post #12





Group: Members
Posts: 1063
Joined: 11-February 12
Member No.: 97076



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.

This post has been edited by eahm: Aug 2 2013, 06:52


--------------------
/lwAsIimz
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd September 2014 - 04:35