I had a request from a customer that wanted to split his music collection into Classical and Non Classical, then within Classical put into Composer folders rather than the more usual Album Artist folder.
Now of course this can mean if you have Classical albums with tracks by multiple composers then the album will be split in your folder structure, but nevertheless some Classical users would prefer to store by the composer as they are more familiar with the composer than the main conductors/performers
This can be achieved by customizing an existing filename mask
-
Go to Preferences
-
Select IsClassical/HD/AlbumArtistorArtist/Album/DiscIfMultiDisc/Track - Title from dropdown and then Edit
3. Create new function by selecting Add next to Javascript functions, then entering the following
function ifClassicalUseComposer()
{
return isclassical =='1' ? ifnotempty(composer,'/'):ifnotempty2(albumartist,artist,'/');
}
and then select OK
-
Edit Mask (modify 3rd line) as follow
addClassical() + addHD() + ifClassicalUseComposer() + ifnotempty(album,'/') + ifmultidisc('Disc ' + ifnotempty(pad(discno,2),'/')) + ifmultidisc(ifnotempty(pad(discno,2),' - ')) + ifnotempty(pad(track,2),' - ') + title
and then select OK
-
Start Fix Songs
-
Modify File Naming tab to use new mask for Rename mask and Compilation Mask
- Select Start
and that should do it