INTERACT FORUM

Please login or register.

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

Author Topic: Small Title Case Error, and a Request  (Read 6392 times)

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Small Title Case Error, and a Request
« on: January 24, 2017, 07:32:36 am »

When cleaning file properties on some tracks, I noticed that a 'the' after an exclamation mark is being made lower-case instead of upper-case.
 
And something I notice that I always end up fixing manually: could there be an option to clean up periods too?
Three or more should be replaced with a single ellipsis character: …
Sometimes this is formatted as '....' or '. . .' so spaces need to be accounted for.
I'm not sure if two should be cleaned up as a single period or expanded to an ellipsis.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41990
  • Shoes gone again!
Re: Small Title Case Error, and a Request
« Reply #1 on: January 24, 2017, 07:37:39 am »

I just cleaned:
"Dancing Queen (Live) !the Hits"

And it became:
"Dancing Queen (Live) !The Hits"

That was in "Title Case" cleaning mode.
Logged
Matt Ashland, JRiver Media Center

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Small Title Case Error, and a Request
« Reply #2 on: January 24, 2017, 07:39:34 am »

"Dancing Queen Live! The Hits"

Is changed to:

"Dancing Queen Live! the Hits"
 
I guess it's an interaction between the spacing or the brackets in your example.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41990
  • Shoes gone again!
Re: Small Title Case Error, and a Request
« Reply #3 on: January 24, 2017, 07:49:11 am »

"Dancing Queen Live! The Hits"

Is changed to:

"Dancing Queen Live! the Hits"
 
I guess it's an interaction between the spacing or the brackets in your example.

Well in that case the isn't capitalized because we're using "Title case" and that doesn't capitalize articles.
Logged
Matt Ashland, JRiver Media Center

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Small Title Case Error, and a Request
« Reply #4 on: January 24, 2017, 07:50:58 am »

Well in that case the isn't capitalized because we're using "Title case" and that doesn't capitalize articles.
An exclamation mark is the end of a sentence.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41990
  • Shoes gone again!
Re: Small Title Case Error, and a Request
« Reply #5 on: January 24, 2017, 07:54:21 am »

An exclamation mark is the end of a sentence.

I'm not sure I'm following.

I just tried putting an exclamation at the end and it worked fine:
"Dancing Queen will you capitalize!"

Became:
"Dancing Queen Will You Capitalize!"
Logged
Matt Ashland, JRiver Media Center

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Small Title Case Error, and a Request
« Reply #6 on: January 24, 2017, 08:05:42 am »

An exclamation mark is a period with emphasis.

"Dancing Queen Live. The Hits" or "Dancing Queen Live. the Hits"
Are changed to:
"Dancing Queen Live. The Hits"
Which is correct.
 
But:
"Dancing Queen Live! The Hits"
Is changing to:
"Dancing Queen Live! the Hits"
 
'The' should be capitalized in both titles.
'The' should only be made lower-case when it's in the middle of a sentence, not the start of a new one.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41990
  • Shoes gone again!
Re: Small Title Case Error, and a Request
« Reply #7 on: January 24, 2017, 08:18:38 am »

But:
"Dancing Queen Live! The Hits"
Is changing to:
"Dancing Queen Live! the Hits"
 
'The' should be capitalized in both titles.
'The' should only be made lower-case when it's in the middle of a sentence, not the start of a new one.

You're sure right.  Thanks for spelling this out.

It'll be fixed next build:
Fixed: Title case capitalization didn't correctly capitalize the word after an exclamation mark if it was an article.
Logged
Matt Ashland, JRiver Media Center

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Small Title Case Error, and a Request
« Reply #8 on: January 24, 2017, 08:20:50 am »

Thanks.
Any thoughts on ellipses?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41990
  • Shoes gone again!
Re: Small Title Case Error, and a Request
« Reply #9 on: January 24, 2017, 08:22:52 am »

Thanks.
Any thoughts on ellipses?

You mean replacing three periods with a '…' character?

I'm not that excited by it because even three periods seems pretty good to me, but feedback welcome.
Logged
Matt Ashland, JRiver Media Center

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Small Title Case Error, and a Request
« Reply #10 on: January 24, 2017, 08:30:53 am »

Well it would ideally cover '..' '...' '. . .' '....' '.....' and so on.
I really prefer using a proper ellipsis character in names, but I suppose I can just keep fixing it manually if there's not much interest in adding that.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41990
  • Shoes gone again!
Re: Small Title Case Error, and a Request
« Reply #11 on: January 24, 2017, 08:33:14 am »

Well it would ideally cover '..' '...' '. . .' '....' '.....' and so on.
I really prefer using a proper ellipsis character in names, but I suppose I can just keep fixing it manually if there's not much interest in adding that.

If you get three +1 votes, I'll sneak it in!
Logged
Matt Ashland, JRiver Media Center

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7411
  • The color of Spring...
Re: Small Title Case Error, and a Request
« Reply #12 on: January 24, 2017, 09:11:54 am »

If you get three +1 votes, I'll sneak it in!

+1 from me! ;)
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2024 Update (24H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41990
  • Shoes gone again!
Re: Small Title Case Error, and a Request
« Reply #13 on: January 24, 2017, 09:23:27 am »

Alright, I snuck it in even though we didn't hit the vote threshold!

Coming next build:
NEW: Added the option 'Convert dots to the ellipsis character' for the tool Clean File Properties.
Logged
Matt Ashland, JRiver Media Center

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Small Title Case Error, and a Request
« Reply #14 on: January 24, 2017, 11:34:54 am »

Awesome, thanks!
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41990
  • Shoes gone again!
Re: Small Title Case Error, and a Request
« Reply #15 on: January 24, 2017, 01:03:55 pm »

Awesome, thanks!

I wasn't that sure what sets of characters to replace.

The only ones I have are "..." and ". . .".  If you have other sets, please share.

Thanks.
Logged
Matt Ashland, JRiver Media Center

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Small Title Case Error, and a Request
« Reply #16 on: January 24, 2017, 03:28:09 pm »

I've already cleaned up most of my library manually as it was imported so I don't have a lot of examples.

The most common issues are: "..." and ". . ."
However it's also being used improperly; with leading spaces or no trailing space.

I have encountered:

"Example...Example"
"Example ... Example"
"Example. . .Example"
"Example. . . Example"
"Example . . .Example"
"Example . . . Example"

Which should all be:
"Example… Example"

 
And:
"...Example at the Beginning"
"... Example at the Beginning"
". . . Example at the Beginning"

Which should be:
"…Example at the Beginning"

The only examples I've found with more than three periods are just when a track ends in an ellipsis - though I'm sure I must have corrected tracks with four or more before.
I think there should also be a capital following an ellipsis in title case.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71498
  • Where did I put my teeth?
Re: Small Title Case Error, and a Request
« Reply #17 on: January 24, 2017, 05:18:16 pm »

You could use MC's Find and Replace to correct most of those.

I wasn't aware that there was supposed to be no space before an elipsis ... I've always used a space before and after.  Here's what Wikpedia says:
https://en.wikipedia.org/wiki/Ellipsis

According to that article, the Chicago Manual of Style suggests a space before and after.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71498
  • Where did I put my teeth?
Re: Small Title Case Error, and a Request
« Reply #18 on: January 24, 2017, 05:19:28 pm »

I should add, that MC must be in pretty good shape now if we're talking about spaces in conjunction with ellipses.  ;)
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8009
Re: Small Title Case Error, and a Request
« Reply #19 on: January 24, 2017, 05:37:42 pm »

I'm very much not a fan of non-ascii characters.  If you turn my ascii into some kind of windows only encoding I'm going to be very unhappy.  I'm guessing the "elipsis character" is a UTF-8 standard or something?

If it's truly cross platform compatible I guess it's all fine.  But if this character causes the Rename function from RM&C to rename files with non-ascii characters that are NOT cross platform compatible, then this is a problem.

Brian.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41990
  • Shoes gone again!
Re: Small Title Case Error, and a Request
« Reply #20 on: January 24, 2017, 05:55:45 pm »

I'm very much not a fan of non-ascii characters.  If you turn my ascii into some kind of windows only encoding I'm going to be very unhappy.  I'm guessing the "elipsis character" is a UTF-8 standard or something?

Well you opt-in to the replacement, and it's off by default.

The character it's replacing with is '…'.  I would assume it works just fine on Mac and Linux, but I haven't actually tested!
Logged
Matt Ashland, JRiver Media Center

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8009
Re: Small Title Case Error, and a Request
« Reply #21 on: January 24, 2017, 06:22:27 pm »

^ Opt in makes it all just fine.  Thanks Matt.  As usual, you're the man.  :)

Brian.
Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: Small Title Case Error, and a Request
« Reply #22 on: January 24, 2017, 07:28:59 pm »

I'm very much not a fan of non-ascii characters.  If you turn my ascii into some kind of windows only encoding I'm going to be very unhappy.  I'm guessing the "elipsis character" is a UTF-8 standard or something?

If it's truly cross platform compatible I guess it's all fine.  But if this character causes the Rename function from RM&C to rename files with non-ascii characters that are NOT cross platform compatible, then this is a problem.

Brian.

ellipsis is ASCII 0133
option ;   on the mac

so it's a supported character (depending on how it's used i suppose)
Logged
Pages: [1]   Go Up