INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Windows => Topic started by: pierre.goyette on February 14, 2016, 10:05:02 am

Title: Renaming files without removing single/double quotes.
Post by: pierre.goyette 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 ?
Title: Re: Renaming files without removing single/double quotes.
Post by: blgentry 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.
Title: Re: Renaming files without removing single/double quotes.
Post by: pierre.goyette 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.
Title: Re: Renaming files without removing single/double quotes.
Post by: Arindelle 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??
Title: Re: Renaming files without removing single/double quotes.
Post by: pierre.goyette 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
Title: Re: Renaming files without removing single/double quotes.
Post by: 221bBS on February 14, 2016, 03:12:54 pm
You can use curly quotes

Single
‘’

Double
“”

Double Prime for inches

Title: Re: Renaming files without removing single/double quotes.
Post by: Matt 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.
Title: Re: Renaming files without removing single/double quotes.
Post by: mx4789 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.
Title: Re: Renaming files without removing single/double quotes.
Post by: Matt 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.