INTERACT FORUM

Please login or register.

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

Author Topic: Renaming files without removing single/double quotes.  (Read 2589 times)

pierre.goyette

  • Recent member
  • *
  • Posts: 42
Renaming files without removing single/double quotes.
« on: February 14, 2016, 10:05:02 am »

I have a number of MP3 files which have either single or double quotes in the Filename tag.  I am renaming the filename using the rule

[Track #] - [Name]

However a file such as   Chase (Original 12" Version)
Gets renamed to           Chase (Original 12_ Version)

Is there an option somewhere to prevent MC21 from changing single/double quotes when renaming ?
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Renaming files without removing single/double quotes.
« Reply #1 on: February 14, 2016, 10:16:06 am »

I can confirm this definitely happens and I can't figure out an easy way around it.  On the other hand, why does it matter?  The file name will be *very* close to the Song Title, just with quotes replaced.  The [Name] field in MC will still be correct.  So the song title is preserved; just not the file name.  Presumably having single or double quotes in a file name might create problems with some programs, as they are delimiters.

Good luck.

Brian.
Logged

pierre.goyette

  • Recent member
  • *
  • Posts: 42
Re: Renaming files without removing single/double quotes.
« Reply #2 on: February 14, 2016, 12:49:37 pm »

Thanks.  The reason why I want the filenames to be clean and match the tags is that with Sonos, when I play a M3U playlist, it shows the filename in the Queue and not the MP3 tags.  But I have other tools to fixup the error after MC renames...

Can this be added to a fixit list please ?

Thanks for the quick response.
Logged

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: Renaming files without removing single/double quotes.
« Reply #3 on: February 14, 2016, 01:01:35 pm »

" > < ? : \ / * |
these are all "illegal" for Windows filenames. You can use a ' single quote instead of a double however. Not sure where you can define in JRiver the replacement characters however??
Logged

pierre.goyette

  • Recent member
  • *
  • Posts: 42
Re: Renaming files without removing single/double quotes.
« Reply #4 on: February 14, 2016, 01:23:14 pm »

Right you are.  Forgot that the double-quote was an illegal character in Windows...  My bad...

I substituted a double-quote for two single quotes.  That way, it looks visually correct
Logged

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: Renaming files without removing single/double quotes.
« Reply #5 on: February 14, 2016, 03:12:54 pm »

You can use curly quotes

Single
‘’

Double
“”

Double Prime for inches

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42389
  • Shoes gone again!
Re: Renaming files without removing single/double quotes.
« Reply #6 on: February 15, 2016, 08:14:27 am »

I see some people already chimed in with this, but it's correct that " is a special character and not usable.

The single quote should pass through the rename tool fine.
Logged
Matt Ashland, JRiver Media Center

mx4789

  • Recent member
  • *
  • Posts: 46
Re: Renaming files without removing single/double quotes.
« Reply #7 on: February 21, 2016, 03:09:05 pm »

Also, the file/folder name cannot end with a period.  Periods are okay in the middle of the name, but not at the end.

R.E.M (okay)
R.E.M. (not okay)

I could never figure out why all of my REM albums wouldn't copy from Linux to Windows.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42389
  • Shoes gone again!
Re: Renaming files without removing single/double quotes.
« Reply #8 on: February 22, 2016, 02:50:49 pm »

Also, the file/folder name cannot end with a period.  Periods are okay in the middle of the name, but not at the end.

This is right.

And the rename tool will strip trailing periods from folder names.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up