IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

"Undoing" AutoCapitilise ?
swayzak
post Nov 8 2008, 01:15
Post #1





Group: Members
Posts: 212
Joined: 23-August 05
Member No.: 24082



hi

After a few too many glasses of wine ( wink.gif ) I stupidly Capitilised my entire 160GB music collection - thereby correcting some annoying problems with letters, but creating annoying problems

e.g all "DJ"s became Dj, MCs to Mc, vol II to vol Ii, CD1 to Cd1 etc.

Is there anyway I can correct this relatively painlessly ?


PS. FB2K is far to powerful a tool to be toyed with on alcohol ...
Go to the top of the page
+Quote Post
 
Start new topic
Replies
foorious
post Nov 16 2008, 03:34
Post #2


troll / ban evasion


Group: Banned
Posts: 244
Joined: 22-April 08
Member No.: 52991



Hi everyone,

Just a few words to say that unless I'm mistaken, some of the above-mentioned words should in fact be capitalized, and some others shoudl'nt. Here are a few examples according to Wikipedia :

[should] Off : http://en.wikipedia.org/wiki/Call_off_the_search
[shouldn't] On : http://en.wikipedia.org/wiki/Come_on_over
[should] Up : http://en.wikipedia.org/wiki/Wake_Up_Little_Susie
[should] Meets : http://en.wikipedia.org/wiki/More_than_mee...on_1_.281984.29


Here's my own Masstagger script for the whole job on the %title% tag field (feel free to change %title% to whatever you like). It may not be optimized, but I've been using it for some months and it performs beautifully. Here it is:

CODE
* Action to perform      : "Format value from other fields"
* Destination field name : TITLE
* Formatting pattern     : $caps2(%title%)

* Action to perform      : "Format value from other fields"
* Destination field name : TITLE
* Formatting pattern     : [$if($strchr(%title%, ),$replace(%title%,'  ',' ',' By A ',' by a ',' For A ',' for a ',' In A ',' in a ',' Of A ',' of a ',' On A ',' on a ',' A ',' a ',' To An ',' to an ',' An ',' an ',' And The ',' and the ',' And ',' and ',' As ',' as ',' At The ',' at the ',' At ',' at ',' By The ',' by the ',' By ',' by ',' But ',' but ',' For The ',' for the ',' For ',' for ',' From A ',' from a ',' From The ',' from the ',' From ',' from ',' In A ',' in a ',' In An ',' in an ',' In The ',' in the ',' In ',' in ',' Into ',' into ',' Nor ',' nor ',' Out Of A ',' out of a ',' Out Of The ',' out of the ',' Out Of ',' out of ',' Of A ',' of a ',' Of The ',' of the ',' Of ',' of ',' On The ',' on the ',' On ',' on ',' Onto ',' onto ',' Or The ',' or the ',' Or ',' or ',' To The ',' to the ',' With The ',' with the ',' The ',' the ',' To ',' to ',' With ',' with '),%title%)]

* Action to perform      : "Format value from other fields"
* Destination field name : TITLE
* Formatting pattern     : [$if($strchr(%title%, ),$left(%title%,$sub($len(%title%),3))$replace($right(%title%,3),' by',' By',' in',' In',' of',' Of',' on',' On',' or',' Or',' to',' To'),%title%)]

* Action to perform      : "Format value from other fields"
* Destination field name : TITLE
* Formatting pattern     : [$if($strchr(%title%, ),$left(%title%,$sub($len(%title%),4))$replace($right(%title%,4),' for',' For',' out',' Out'),%title%)]

* Action to perform      : "Format value from other fields"
* Destination field name : TITLE
* Formatting pattern     : [$if($strchr(%title%, ),$left(%title%,$sub($len(%title%),5))$replace($right(%title%,5),' into',' Into',' from',' From',' with',' With'),%title%)]

* Action to perform      : "Format value from other fields"
* Destination field name : TITLE
* Formatting pattern     : [$if($strchr(%title%, ),$replace(%title%,'Best of','Best Of','- the ','- The ',': the ',': The ','& the ','& The '),%title%)]


Like I said, it may not be optimized... but it works. Feel free to remove all relevant ' if you wish. I like them.


EDIT - small improvement (' As ')

This post has been edited by foorious: Jan 12 2009, 15:52
Go to the top of the page
+Quote Post

Posts in this topic
- swayzak   "Undoing" AutoCapitilise ?   Nov 8 2008, 01:15
- - Andreasvb   You can use Mp3tag and create actions that replace...   Nov 8 2008, 01:27
|- - swayzak   QUOTE (Andreasvb @ Nov 7 2008, 18:27) You...   Nov 8 2008, 01:31
|- - Canar   QUOTE (swayzak @ Nov 7 2008, 16:31) PS Is...   Nov 8 2008, 02:16
- - Yirkha   Awfully late, however: Properties for all items ...   Nov 8 2008, 01:42
- - Lyx   Here's a better fix, since i became "vict...   Nov 8 2008, 02:42
|- - kwanbis   QUOTE (Lyx @ Nov 8 2008, 01:42) Second, b...   Nov 8 2008, 23:28
|- - Lyx   QUOTE (kwanbis @ Nov 8 2008, 23:28) QUOTE...   Nov 8 2008, 23:33
|- - kwanbis   QUOTE (Lyx @ Nov 8 2008, 22:33) Example: ...   Nov 8 2008, 23:47
- - Frank Bicking   You don't actually need any of those apostroph...   Nov 8 2008, 02:46
|- - Lyx   Same reply as yesterday. If whitespace is importan...   Nov 8 2008, 02:47
|- - Lyx   P.S.: Doing such replacement operations for MC ca...   Nov 8 2008, 03:09
|- - odyssey   QUOTE (Lyx @ Nov 8 2008, 03:09) P.S.: Do...   Nov 9 2008, 19:20
- - Lyx   Just tested - the answer is "yes".   Nov 8 2008, 23:52
- - swayzak   Wow - so many further helpful replies ! Thanks...   Nov 9 2008, 01:08
|- - swayzak   QUOTE (swayzak @ Nov 8 2008, 18:08) Wow -...   Nov 9 2008, 01:21
- - Lyx   Works here with 0.9.6 beta. The behaviour of that ...   Nov 9 2008, 02:30
- - Yirkha   You'd need to add another space between ...   Nov 9 2008, 04:52
|- - swayzak   QUOTE (Yirkha @ Nov 8 2008, 21:52) You...   Nov 9 2008, 12:00
- - swayzak   I've tried to adapt that string to correct the...   Nov 9 2008, 12:59
- - Yirkha   The column "Title" is apparently only fo...   Nov 9 2008, 13:07
|- - swayzak   QUOTE (Yirkha @ Nov 9 2008, 06:07) The co...   Nov 9 2008, 13:22
- - Yirkha   No. Besides, no changes are done to your files unt...   Nov 9 2008, 13:26
- - swayzak   Thanks. Does FB2K have an undo function that coul...   Nov 9 2008, 13:49
- - Yirkha   No. The closest you can get to such a feature woul...   Nov 9 2008, 14:12
- - swayzak   OK - thanks. That's useful to know ..   Nov 9 2008, 14:15
- - Mar2zz   What is the order of process in your string, odyss...   Nov 9 2008, 20:20
|- - odyssey   QUOTE (Mar2zz @ Nov 9 2008, 20:20) What i...   Nov 9 2008, 22:27
- - Purple Monkey   I think Mar2zz meant that if you have the title ...   Nov 10 2008, 00:13
- - odyssey   I see it now. It's true with the string I post...   Nov 10 2008, 09:36
- - Mar2zz   That could be solved with nesting your string insi...   Nov 10 2008, 11:17
- - odyssey   AFAIR, that's exactly what I'm doing. The ...   Nov 10 2008, 13:21
- - Lyx   Coming soon to a screen near you: From the peop...   Nov 10 2008, 18:39
- - foorious   Hi everyone, Just a few words to say that unless ...   Nov 16 2008, 03:34


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: 21st April 2014 - 04:03