INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Is there an 'ignore' list for the FixCase function?  (Read 3380 times)

Spike1000

  • Citizen of the Universe
  • *****
  • Posts: 641
Is there an 'ignore' list for the FixCase function?
« on: March 28, 2016, 08:18:00 am »

I was doing some 'tidying' of some track names/artists with =FixCase and it turned BBC into Bbc. Is there such a thing as an 'ignore' list I could add BBC to so it's not modified by the FixCase function?

Spike

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Is there an 'ignore' list for the FixCase function?
« Reply #1 on: March 28, 2016, 08:27:43 am »

It's a hard-coded list.  I added BBC to the list.

I actually thought we had a file for the list, but I think I was thinking about the artist search.
Logged
Matt Ashland, JRiver Media Center

Spike1000

  • Citizen of the Universe
  • *****
  • Posts: 641
Re: Is there an 'ignore' list for the FixCase function?
« Reply #2 on: March 28, 2016, 08:38:15 am »

It's a hard-coded list.  I added BBC to the list.

Now that's what I call service!  :D

Cheers

Spike

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Is there an 'ignore' list for the FixCase function?
« Reply #3 on: March 28, 2016, 08:46:28 am »

I'm thinking about branching this out to two files:
CapitalizationAllCaps.txt
CapitalizationExclusion.txt

I just have to think about how to load because I don't want every call into the CorrectCapitlization(...) function to have to load those files.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Is there an 'ignore' list for the FixCase function?
« Reply #4 on: March 28, 2016, 09:19:56 am »

Next build will have this branched out to the two files I mentioned.  That way users can maybe help us build the lists even better. 

So please have at it once it ships!  Thanks.
Logged
Matt Ashland, JRiver Media Center

syndromeofadown

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 812
Re: Is there an 'ignore' list for the FixCase function?
« Reply #5 on: March 28, 2016, 12:03:00 pm »

My suggestion is to have just one text file with a list that 'forces' capitalization.
The list could have worlds or phrases with all caps, all lowercase, or mixed.
Whenever one of the words is found with any case, MC could match it to the case in the text file.
When MC searches for the words they would have to be straddled by one of the following: _ ()[]-{}"&#.1234567890\/.
This way forcing the case of AM would not turn America into AMerica.
A good spot for this would be in Clean File Properties.

Here is an old request of similar topic:
Quote
I don't use 'fix capitalization' because it does all words when I don't want all done.
An option called 'keep case of these words' needs added.
It could just be a list of words that MC leaves alone.
It would be nice if the list was saved in, or exported to a txt or csv file for transfer between machines.
Here are just some of the words that I currently 'keep case':

I,II,III,IV,WWI,WWII,WWIII,1st,2nd,3rd,DVD,CD,EP,LP,UN,HAARP,UK,BBC,OK,XXI,ISIS,iTunes,BLESTeNATION,ASHES dIVIDE,SGNL,16mm,HD,vs,ohGr,K-OS,100th,REM,IRS,BBB,2ch,4ch,6ch,FLAC,DJ,LL,9mm,AM,FM,PM,LMFAO,Sinéad O'Connor,BC,LA,POD,TV,texANS,21st,NYC,AC DC,PSB,DFA,AO,PJ,BTK,XX
Logged

Eisenhart

  • Member
  • *
  • Posts: 3
Re: Is there an 'ignore' list for the FixCase function?
« Reply #6 on: March 28, 2016, 08:36:12 pm »

My wish list for fix case: 
kHz, HDTracks, MFSL, SHM-SACD, SACD, SACD-R, DVD-A, LP, EU, USA

Thanks
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Is there an 'ignore' list for the FixCase function?
« Reply #7 on: March 28, 2016, 08:53:37 pm »

You don't need to post wish lists. They made it so you can alter it yourself.

I don't know that I agree with a bunch of those posted thus far for new defaults...
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: Is there an 'ignore' list for the FixCase function?
« Reply #8 on: March 29, 2016, 06:26:31 am »

Next build will have this branched out to the two files I mentioned.  That way users can maybe help us build the lists even better. 

So please have at it once it ships!  Thanks.

Very cool, this could prove useful.  Thanks Matt (any idea where they'll end up in the install directory?)
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Is there an 'ignore' list for the FixCase function?
« Reply #9 on: March 29, 2016, 07:15:14 am »

My wish list for fix case: 
kHz, HDTracks, MFSL, SHM-SACD, SACD, SACD-R, DVD-A, LP, EU, USA

Thanks


I put a few of those in the new CapitalizationAllCaps.txt file that's coming.

Please feel free to keep editing once the build is out, and even better, post your edits back here on Interact.

Thanks.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up