More > JRiver Media Center 23 for Windows

How to change filenames from UPPER CASE to Proper Case?

<< < (2/2)

FenceFurniture:

--- Quote from: RoderickGI on October 21, 2019, 12:33:54 am ---The "Library Tools > Clean File Properties" will fix tags, but if you want to change actual file names to Title (Proper) Case, then use the Rename, Move & Copy Files function and wrap your Filename rules in the FixCase() function, in the form;

FixCase({Filename Rules}, 1)

https://wiki.jriver.com/index.php/String_Manipulation_Functions#FixCase

Just check the Preview in RM&CF carefully, as FixCase() capitalises all words, including "the" "of" etc.

--- End quote ---
So the time has come when this will be very useful (Knew it would), but there's something I'm missing here Roderick. It's actually quite tricky to get this in a format where it will do it in one pass.

For the benefit of others who may read this:

If I enter
FixCase(FileName(),1)
into a Filename rule it wants to add an extra .flac so that it becomes .Flac.flac

Finally, after fiddling around for *a while*, it seems the expression for changing
\IT'S A BOY.flac
to \It's A Boy.flac
 is
FixCase(FileName(,0),1)

The ",0" can be "," but if you delete the ,0 you get
\It's A Boy.Flac.flac

It's very confusing, and I think the Wiki explanation could be improved with some fuller examples. Converting CAPS to Title Case or similar is something that must surely be done quite a bit.

RoderickGI:
I probably didn't give a good example with the expression I used, or at least the structure FixCase({Filename Rules}, 1) could be confusing.

I was expecting you to use something like;
FixCase([Name], 1)

or as these are track names;

FixCase([Track #] - [Name], 1)

That is, what was in the squiggly brackets {Filename Rules}, could be any expression using existing tags that defined how you wanted the files to be named. But, your solution works.  8)

In fact, your solution to use the Filename(,0) function, which indirectly uses the [Filename (name)] tag without the file extension, is neat and only involves the existing file name tag, and no others, so it is probably the most accurate method to use, for what you wanted.

Well done!

FenceFurniture:

--- Quote from: RoderickGI on October 25, 2019, 08:25:23 pm ---In fact, your solution to use the Filename(,0) function, which indirectly uses the [Filename (name)] tag without the file extension, is neat and only involves the existing file name tag, and no others, so it is probably the most accurate method to use, for what you wanted.
--- End quote ---
Well I'd already fixed the track names with Marko's method in Clean File Properties, so it was only the filenames that were outstanding.

I would still suggest that the Wiki needs some more fulsome examples which would make it much easier to understand this particular aspect.

Very impressed with JRiver though, and the support available!

Navigation

[0] Message Index

[*] Previous page

Go to full version