"Undoing" AutoCapitilise ? |
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 ? |
Nov 8 2008, 01:15
Post
#1
|
|
|
Group: Members Posts: 207 Joined: 23-August 05 Member No.: 24082 |
hi
After a few too many glasses of wine ( 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 ... |
|
|
|
![]() |
Nov 8 2008, 02:46
Post
#2
|
|
![]() Group: Super Moderator Posts: 1813 Joined: 24-July 02 Member No.: 2776 |
You don't actually need any of those apostrophes:
CODE [$trim($replace($meta(title) , ep , EP , Ep , EP , cd , CD , Cd , CD , dj , DJ , Dj , DJ , Ii , II , Iii , III , Iv , IV , Vi , VI , Vii , VII , Viii , VIII , Ix , IX ))]
-------------------- foobar2000.audiohq.de
|
|
|
|
Nov 8 2008, 02:47
Post
#3
|
|
![]() Group: Members Posts: 3353 Joined: 6-July 03 From: Sachsen (DE) Member No.: 7609 |
Same reply as yesterday. If whitespace is important, i prefer to explicitely quote it, regardless of it not being "required".
If you can give me a hint how i can set a monospace font for all formattingstring inputareas in fb2k, i may drop that habbit :) This post has been edited by Lyx: Nov 8 2008, 02:49 |
|
|
|
Nov 8 2008, 03:09
Post
#4
|
|
![]() Group: Members Posts: 3353 Joined: 6-July 03 From: Sachsen (DE) Member No.: 7609 |
P.S.:
Doing such replacement operations for MC can result in false matches, because there IS an abbreviation which is capitalized as "Mc". You dont want "Mc Donalds" turned into "MC Donalds", right? For that case, better do a manual DB search and then apply a fix to handselected set of tracks. |
|
|
|
Nov 9 2008, 19:20
Post
#5
|
|
![]() Group: Members Posts: 2296 Joined: 18-May 03 From: Denmark Member No.: 6695 |
P.S.: Doing such replacement operations for MC can result in false matches, because there IS an abbreviation which is capitalized as "Mc". You dont want "Mc Donalds" turned into "MC Donalds", right? For that case, better do a manual DB search and then apply a fix to handselected set of tracks. I took that into account by replacing any Mca > McA, Mcb > McB etc. Ugly, but very good! For anyone interested, this is what I do: CODE $replace($caps2(%title%),'[','(',']',')',N''',n''','''N,'''n,'''N''','''n''', ?,?, !,!, , ,Inch,",Th ,th ,Feat.,feat.,Feat ,feat. ,Featuring ,feat. ,Ft ,feat. ,Ft. ,feat. ,Versus ,vs. ,Vs , vs.,Vs.,vs.,Pres.,pres.,Pres ,pres. ,Presents ,pres. ,Present ,pres. ,Meets ,meets ,Van ,van ,Von ,von ,Mc ,MC ,Dj,DJ,A ,a ,An ,an ,The ,the ,And ,and ,But ,but ,Or ,or ,Nor ,nor ,At ,at ,By ,by ,For ,for ,From ,from ,In ,in ,Into ,into ,Of ,of ,Off ,off ,On ,on ,Onto ,onto ,Out ,out ,Over ,over ,To ,to ,Up ,up ,With ,with ,Mca,McA,Mcb,McB,Mcc,McC,Mcd,McD,Mce,McE,Mcf,McF,Mcg,McG,Mch,McH,Mci,McI,Mcj,McJ,Mck,McK,Mcl,McL,Mcm ,McM,Mcn,McN,Mco,McO,Mcp,McP,Mcq,McQ,Mcr,McR,Mcs,McS,Mct,McT,Mcu,McU,Mcv,McV,Mcw,McW,Mcx,McX,Mcy,McY , Mcz,McZ) It also does it best, lowercasing all words that shouldn't be uppercased -------------------- Can't wait for a HD-AAC encoder :P
|
|
|
|
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
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![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 06:07 |