INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: DHF on March 09, 2014, 04:09:36 pm

Title: Edit command for multiple album names
Post by: DHF on March 09, 2014, 04:09:36 pm
Many of my album names are preceded by a calendar year in parenthesis.
For Example
(1972) Twist and Shout
Where I would like it to be
Twist and Shout
Without the year in parenthesis.

How would I construct a command to run through and change all those album names?
Title: Re: Edit command for multiple album names
Post by: 6233638 on March 09, 2014, 09:17:47 pm
Assuming they are in folder names with a similar structure, you could use the "Tools > Library Tools > Fill properties from filename" tool.

([Year]) [Album] would take care of your example.
Title: Re: Edit command for multiple album names
Post by: MrC on March 09, 2014, 11:33:49 pm
If you want to change all your tags, but your file names can't be used to grab these properties for some reason, you can select your files, go to the Tag Action Window, and in the Album field, click to edit and enter (copy and paste the formula):

   =if(regex([album], /#^\((?:19|20)\d{2}\) (.+)$#/), [R1], [album])

and press Enter.  This should remove all the things that look like years within parens at the front of your album names.  You can Undo afterwards if they are not correct or you don't like the results.
Title: Re: Edit command for multiple album names
Post by: DHF on March 10, 2014, 08:57:45 am
I think both will work!

I will try the edit command, as I want to get more used to using those commands. 

Thanks a bunch.