INTERACT FORUM

Please login or register.

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

Author Topic: Where can I find a list of "Mask" words to use in file nameing etc?  (Read 2645 times)

jctcom

  • Citizen of the Universe
  • *****
  • Posts: 684
  • Rush - Styx - Yes - Porcupine Tree - Staple Food!

Is there a comprehensive list somewhere of what we can or rather should use for the "Mask" field names to create our folders \ files etc?

Thank you.

Carl.
Logged
Carl's Music: https://cloud.clz.com/jctcom/music
Carl's Movies: https://cloud.clz.com/jctcom/movies

Some of Carl's Equipment:  Yamaha RX-A2A, i7-11700K, 128GB, PCIe X4 2TB M.2 SSD, GTX-970, SMSL DL200

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #1 on: July 30, 2013, 12:51:04 am »

Do you mean templates for folder paths and file names?

Otherwise, can you explain your meaning in a different way?
Logged
The opinions I express represent my own folly.

jctcom

  • Citizen of the Universe
  • *****
  • Posts: 684
  • Rush - Styx - Yes - Porcupine Tree - Staple Food!
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #2 on: July 30, 2013, 12:57:20 am »

Yes kind of.

The "Mask" Words to create my own templates.

There are a few basic examples listed in the option in the program with [Album], [Artist] etc...

But I would like to see the whole list.  For example what is used for "Release year" or "Recording Year" "Disc #" etc etc...

Carl.
Logged
Carl's Music: https://cloud.clz.com/jctcom/music
Carl's Movies: https://cloud.clz.com/jctcom/movies

Some of Carl's Equipment:  Yamaha RX-A2A, i7-11700K, 128GB, PCIe X4 2TB M.2 SSD, GTX-970, SMSL DL200

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #3 on: July 30, 2013, 12:59:25 am »

In the Options > File Locations area, and in the Rename tool, you can use any valid expression, combining Fields and Expressions.

Many folks use simple arrangement such as:

   [Album Artist (auto)]\[Album]\[Track #] [Name]

but more elaborate arrangements are possible, including adding [Disc #] when neeeded, etc.
Logged
The opinions I express represent my own folly.

jctcom

  • Citizen of the Universe
  • *****
  • Posts: 684
  • Rush - Styx - Yes - Porcupine Tree - Staple Food!
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #4 on: July 30, 2013, 01:10:33 am »

Ok Great. 

Thank you.

btw.  I currently use Helium Music Manager usually to tag and move my files.  They have a great system for creating templates which use the id tags to automatically rename the file and also move it to a specific location.

I can see that MC has the ability to do this during the ripping process.  Do you know if there is a tool to do this for already existing files?

I generally rip to a temporary folder and only when I have checked all the tags do I move them to my "Organized" folder.

Thanks again for your help.


Carl.
Logged
Carl's Music: https://cloud.clz.com/jctcom/music
Carl's Movies: https://cloud.clz.com/jctcom/movies

Some of Carl's Equipment:  Yamaha RX-A2A, i7-11700K, 128GB, PCIe X4 2TB M.2 SSD, GTX-970, SMSL DL200

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #5 on: July 30, 2013, 01:17:59 am »

Set your Audio templates first in Tools > Options > File Locations.  Set the Base, Folder and Filename rules there.  These affect new files created by MC.

Then, use the Rename, Move & Copy tool to rename your media files according to the template.  At the bottom of the dialog, there is a Preset button.  Use it to call up these settings, or other presets you'll create over time.
Logged
The opinions I express represent my own folly.

jctcom

  • Citizen of the Universe
  • *****
  • Posts: 684
  • Rush - Styx - Yes - Porcupine Tree - Staple Food!
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #6 on: July 30, 2013, 01:46:43 am »

Ok 2 more questions.

1.  I see the "File Location" Options.  But there is only one setting there.  As I mentioned previously I used to Rip to a temporary location and only move to the "Organized" location once I have verified tags etc.  (Especially for batch ripping).  So I guess there is no way for me to RIP to one location and then "Rename / move" to another?

2.  In the file name "Mask".  I see that we can add our own fields.  Can these be used in the File / folder naming schemes?

Thank you.

Carl.
Logged
Carl's Music: https://cloud.clz.com/jctcom/music
Carl's Movies: https://cloud.clz.com/jctcom/movies

Some of Carl's Equipment:  Yamaha RX-A2A, i7-11700K, 128GB, PCIe X4 2TB M.2 SSD, GTX-970, SMSL DL200

jctcom

  • Citizen of the Universe
  • *****
  • Posts: 684
  • Rush - Styx - Yes - Porcupine Tree - Staple Food!
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #7 on: July 30, 2013, 01:55:51 am »

Ok I think I found the place to create seperate "Rename / Move" templates or rules.

Will have to play around with it a bit.

Carl
Logged
Carl's Music: https://cloud.clz.com/jctcom/music
Carl's Movies: https://cloud.clz.com/jctcom/movies

Some of Carl's Equipment:  Yamaha RX-A2A, i7-11700K, 128GB, PCIe X4 2TB M.2 SSD, GTX-970, SMSL DL200

jctcom

  • Citizen of the Universe
  • *****
  • Posts: 684
  • Rush - Styx - Yes - Porcupine Tree - Staple Food!
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #8 on: July 30, 2013, 02:21:56 am »

Ok I'm getting lost with these expressions.

I think I have my formats for most everything I want but I would like an example of a simple expression that will put a disc number at the beginning of the file name only if there is more than one disc in the album.

So I would like my file names to look like this:

Multiple disc sets:  D[Disc #] - [Track#] - [Track Title] - [Track Artist] - [Album Title]

If only a single disc in the album then I would like it to omit the "D[Disc #] - "

Thank you.

Carl.
Logged
Carl's Music: https://cloud.clz.com/jctcom/music
Carl's Movies: https://cloud.clz.com/jctcom/movies

Some of Carl's Equipment:  Yamaha RX-A2A, i7-11700K, 128GB, PCIe X4 2TB M.2 SSD, GTX-970, SMSL DL200

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #9 on: July 30, 2013, 02:27:59 am »

If there is only a single disc, then leave disc # empty and use:

   Delimit([disc #,0], / -/ , D)

in front of [Track #].
Logged
The opinions I express represent my own folly.

jctcom

  • Citizen of the Universe
  • *****
  • Posts: 684
  • Rush - Styx - Yes - Porcupine Tree - Staple Food!
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #10 on: July 30, 2013, 04:02:26 am »

If there is only a single disc, then leave disc # empty and use:

   Delimit([disc#], / -/ , D)

in front of [Track #].

Ok I must have misunderstood something.  I tried this 2 ways.

When I did:
Delimit([disc#], / -/ , D)[Track #] - [Name] [Artist] [Album]

I got this:
D[disc#] - 01 - Ri Na Cruinne Clannad Anam.flac

Then I noticed that in the actual field list there is a space between the "Disc" and "#"

So I tried this:

Delimit([disc #], / -/ , D)[Track #] - [Name] - [Artist] - [Album]

and got this:
DUnknown Disc # - 04 - The Hunter - Clannad - Pastpresent.flac

Am I missing something or is there a typo in the instructions somewhere?

Carl
Logged
Carl's Music: https://cloud.clz.com/jctcom/music
Carl's Movies: https://cloud.clz.com/jctcom/movies

Some of Carl's Equipment:  Yamaha RX-A2A, i7-11700K, 128GB, PCIe X4 2TB M.2 SSD, GTX-970, SMSL DL200

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #11 on: July 30, 2013, 04:39:50 am »

Would this help?

Here is what I use:
______________________________________

Directories:

[Album Artist (auto)]\[Album]

When I have many albums from the same "album artist" I may add the year value:
[Album artist (auto)]\[Year] - [Album]

I prefer to use [Album Artist (auto)], because then I need to tag the [Album Artist] field only if the album has more than one [Artist] value and I want to override the automatic "(Multiple Artists)" value.

Filename:

If(IsEmpty([Disc #],1), [track #], CD[Disc #] - [track #]) - If(IsEqual([Album Type], Multiple Artists /(complete/), 1), [Artist] - [Name], [Name])

Some examples of the resulting filenames:

Single Artist, no disc number:
\The Cure\Japanese Whispers\06 - Speak My Language.mp3

Single Artist, disc number:
\Bob Marley & The Wailers\Burnin' (Deluxe Edition)\CD2 - 08 - Kinky Reggae.mp3

Multiple Artists, tagged Album Artist, no disc number:
\Tiësto\Elements Of Life\03 - Tiësto feat. Julie Thompson - Do You Feel Me.mp3

Multiple Artists, automatic Album Artist value, disc number:
\(Multiple Artists)\Champs-Élysées Café\CD2 - 04 - Chateau Flight feat. Beretta 9 - Down At The Rotisserie.mp3

-- The text string "CD" will be added if the "Disc #" field has a value.
______________________________________

I have a few boxsets that have over 10 discs. For them I have used this:
If(IsEmpty([Disc #],1), [track #], CDPadNumber([Disc #],2) - [track #]) - If(IsEqual([Album Type], Multiple Artists /(complete/), 1), [Artist] - [Name], [Name])

For example: \Sviatoslav Richter\The Complete EMI Recordings\CD09 - 05 - Beethoven - Piano Concerto No.3 in C minor Op.37, II. Largo.mp3
______________________________________

Marko has posted a nice example of a comprehensive renaming rule here:
http://yabb.jriver.com/interact/index.php?topic=51475.msg351347#msg351347    ;)
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

jctcom

  • Citizen of the Universe
  • *****
  • Posts: 684
  • Rush - Styx - Yes - Porcupine Tree - Staple Food!
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #12 on: July 30, 2013, 05:09:32 am »

Thank you very much.  This is just what I needed.

In your example for Box Sets:

Quote/
I have a few boxsets that have over 10 discs. For them I have used this:
If(IsEmpty([Disc #],1), [track #], CDPadNumber([Disc #],2) - [track #]) - If(IsEqual([Album Type], Multiple Artists /(complete/), 1), [Artist] - [Name], [Name])

For example: \Sviatoslav Richter\The Complete EMI Recordings\CD09 - 05 - Beethoven - Piano Concerto No.3 in C minor Op.37, II. Largo.mp3
End Quote/

How does it know that "PadNumber" is a command and not just part of the word "CD" + "PadNumber"? 

Is "PadNumber" something that can only be used in expressions?

Carl.
Logged
Carl's Music: https://cloud.clz.com/jctcom/music
Carl's Movies: https://cloud.clz.com/jctcom/movies

Some of Carl's Equipment:  Yamaha RX-A2A, i7-11700K, 128GB, PCIe X4 2TB M.2 SSD, GTX-970, SMSL DL200

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #13 on: July 30, 2013, 06:20:45 am »

PadNumber is an expression language function as explained here:
http://wiki.jriver.com/index.php/Media_Center_expression_language#PadNumber.28....29:_Adds_leading_zeros_to_any_given_number

To actually output the text string PadNumber you would need to use /PadNumber. "/" is the escape character.

From: http://wiki.jriver.com/index.php/Media_Center_expression_language#Overview
Quote
Occasionally, you will find that you want a space, or parenthesis character to be treated literally as part of your instructions, rather than expression syntax, and in these cases, the character is "escaped" by using a preceding forward slash.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

jctcom

  • Citizen of the Universe
  • *****
  • Posts: 684
  • Rush - Styx - Yes - Porcupine Tree - Staple Food!
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #14 on: July 30, 2013, 06:37:28 am »

I thought it might be something like that.

I am a computer hardware person and an in depth user of programs.  But I never could get into the actual programming languages.  Even anything more than basic HTML drives me bonkers.

I think it's the syntax.  It's worse than English.  lol

Carl.
Logged
Carl's Music: https://cloud.clz.com/jctcom/music
Carl's Movies: https://cloud.clz.com/jctcom/movies

Some of Carl's Equipment:  Yamaha RX-A2A, i7-11700K, 128GB, PCIe X4 2TB M.2 SSD, GTX-970, SMSL DL200

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Where can I find a list of "Mask" words to use in file nameing etc?
« Reply #15 on: July 30, 2013, 07:55:00 am »

I've corrected my reply above.  Sorry for the typo - tablet typing before bed is not advised.

The expression works differently in various areas of MC unfortunately.  Try the correction above.

The difference between using [disc #] and [disc #,0] is that in the raw format (former) MC won't output Unknown Disc when Disc # is empty.  In some cases, the first form works fine (like in a file list), but when generating a file path like in the Rename tool, MC always wants non-empty output from field evaluations by default, so the latter form is required.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up