INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: KingSparta on March 03, 2014, 05:15:16 pm

Title: When You import Is There A Way To Adjust
Post by: KingSparta on March 03, 2014, 05:15:16 pm
When You import Is There A Way To Adjust What Fields And The Input Format Of The File Name.

I thought there was a way to adjust once.
Title: Re: When You import Is There A Way To Adjust
Post by: JimH on March 03, 2014, 06:36:19 pm
Take a look at the options you have for the import directories.  Select one and edit it to start.
Title: Re: When You import Is There A Way To Adjust
Post by: KingSparta on March 03, 2014, 07:59:45 pm
what I was looking for was, (If I remember this correctly) Was Something like

[Artist Name] - [Album Name] - [Name]

and it would import the fields from the file name

Artist Name - Album Name - Name.mp3

The problem is I can't find it, and have not used this option in a long time.

so I am not sure if it even exists anymore.
Title: Re: When You import Is There A Way To Adjust
Post by: mwillems on March 03, 2014, 08:07:53 pm
what I was looking for was, (If I remember this correctly) Was Something like

[Artist Name] - [Album Name] - [Name]

and it would import the fields from the file name

Artist Name - Album Name - Name.mp3

The problem is I can't find it, and have not used this option in a long time.

so I am not sure if it even exists anymore.

I think you want "fill properties from filename."  It's in the right click context menu under "library tools" near the top of that submenu.  Once you click on it, it gives you options to specify a template, etc.
Title: Re: When You import Is There A Way To Adjust
Post by: KingSparta on March 03, 2014, 09:00:49 pm
That's it, thanks
Title: Re: When You import Is There A Way To Adjust
Post by: MrC on March 03, 2014, 09:19:00 pm
You can also set up auto import rules to do this automatically on import.  Ask if you are interested.
Title: Re: When You import Is There A Way To Adjust
Post by: KingSparta on March 04, 2014, 08:34:15 pm
I am interested.
Title: Re: When You import Is There A Way To Adjust
Post by: astromo on March 04, 2014, 09:56:55 pm
I am interested.

Queue behind the King. Interest shared.
Title: Re: When You import Is There A Way To Adjust
Post by: MrC on March 04, 2014, 10:49:13 pm
A two-fer.

Since your filename contains an easy pattern with a common delimiter, we can use ListItem() to pull out the pieces, each separated by a space-dash-space sequence.

Setup your auto-import rules for the folder, by going to Tools > Import > Configure Auto-Import, and add the import folder you want rules applied to.  Then, under the Folders list in the auto-import dialog, select the folder, and click Edit.  At the bottom of the dialog, under Apply these tags (optional), click Add and select Custom...  (see screenshot)

Start with the Artist field, since that comes first in your filenames.  Select Artist from the dropdown list, and add the rule:

    listitem(filename(,0), 0, / -/ )

This grabs the first space-dash-space delimited item from the filename (without its suffix).  Click OK.  And now Add rules for Album and for Name, using the following two expressions, respectively:

    listitem(filename(,0), 1, / -/ )

    listitem(filename(,0), 2, / -/ )

The only thing that changes in each of these expressions is the list index (0, 1, and 2).

Now all files that are placed into this folder tree, with the name in the form of Artist - Album - Name will have the respective fields populated on import.  More complex rules can be written to ignore assigning fields when the album does not match that form.
Title: Re: When You import Is There A Way To Adjust
Post by: KingSparta on March 05, 2014, 08:22:44 pm
Interesting, I may play with that tomorrow.