gmusicbrowser Forum

Main board => Suggestions => Topic started by: schlyis on December 26, 2014, 06:48:36

Title: Mass Rename: include genre field
Post by: schlyis on December 26, 2014, 06:48:36
I like to organize my music by genre. It would be nice to have a %g tag available in the Mass Rename tool to move bands/albums into a genre subfolder.
Title: Re: Mass Rename: include genre field
Post by: Quentin Sculo on December 26, 2014, 16:48:33
There is %g (or $genre), the same variables are available in everywhere they are used, even if they are not listed, and for most fields you can just use $fieldname.
Be warned that songs may have multiple genres, in this case %g will be replaced by "genre1, genre2, genre3".
Title: Re: Mass Rename: include genre field
Post by: schlyis on December 26, 2014, 17:35:11
In the attached image, you can see how I added %g to the folder pattern. In the preview window below, mass rename tool does not recognize %g or $genre as a field.

Am I using the tool correctly?
Title: Re: Mass Rename: include genre field
Post by: Quentin Sculo on December 26, 2014, 22:23:01
It seems the songs in your screenshot do not have a genre, so it's replaced by the empty string "".
Also if the path doesn't begin with a slash, it will be relative to the current path of the file, which means you may easily miss the genre lost in the middle of the long path.
Title: Re: Mass Rename: include genre field
Post by: schlyis on December 27, 2014, 06:37:46
Oh, you're right. I see I failed to click the plus sign to add a genre. Thank you, it works great!