After spending months sorting 30 years of music from many sources I’m almost finished what I want to accomplish but I cannot find a file naming script to sort my music by genre and I’m struggling trying to figure it out. Is it even possible for MBP to sort by genre? I have 2 folders for my music at present:
- Alphabetical - FLAC
- Alphabetical - MP3
and I’d like to have 2 more: - Genre - FLAC
- Genre - MP3
Here is my current script:
$if($eq($left($if2(%albumartist%,%artist%),4),The ),
$left($right($if2(%albumartist%,%artist%),
$sub($len($if2(%albumartist%,%artist%)),4)),1),
$left($if2(%albumartist%,%artist%),1)) - Music/
$if2(%albumartist%,%artist%)/%album% $upper([%_extension%]) [$if(%date%,$if(%album%,)$left(%date%,4)])/
%artist% - %title%
It gives me this:
Music Folder/A - Music/AC_DC/Back in Black [FLAC] [2003]/AC_DC - Back in Black.flac
Which is perfect so far. I’d like to achieve this:
Music Folder/‘Genre’/A - Music/AC_DC/Back in Black [FLAC]…
My music already has genre tags. So I’d like MBP to sort using the genre tag but how do I do that and how do I define what genres I want?
I’ve come across this but I don’t know if this is what I’m looking for:
$noop(★ Sort orderTypeForRoot ★)
$noop(★ ~/Music/Last.fm Genre/A/Artist/AlbumTitle/ ★)
$noop(★ 1: Category [Last.fm.ng] ★)
$noop(★ ~/Music/A/Artist/AlbumTitle/★)
$noop(★ 2: Artist first letter ★)
$set(_orderTypeForRoot,2)
Thanks in advance.