I kind of have this figured out. But I need a little help with the sort order.
I have created the playlist to sort the albums by year. I named it - Play All Albums by Year.m3u But it doesn't end up exactly by year. It dose it by year, album. If I don't add some kind of secondary sort order it mixes up the albums by name if they have the same year. So if I add the secondary sort it helps to keep the album grouped together.
The problem is that the sorting goes alpha numeric. So if an album date is 1975 in my artist folder and the album is named 'Twenty-four Carrot' it lists it first among all the other albums. But if its name is for example '24 Carrot' the album gets listed last after the alpha named albums.
Is there some kind of qualifier I can use to force the albums to be listed by year regardless if the album name starts with a letter or number?
$filename(Play All Albums by Year.m3u,ansi)#EXTM3U
$loop(%year%%album%)#EXTINF:-1,----- %album% ($replace($replace(-%_total_time2%,-00:,),-,)) -----
$loop(%_directory%)$loopend()
$loop(%_filename_ext%)#EXTINF:%_length_seconds%,$if($or(%artist%,%title%),$if($not(%track%),,),)$if(%artist%,%artist% - %title%,%title%)$if($or(%artist%,%title%),,%_filename%)
$replace(%_folderpath%%_filename_ext%,%_workingpath%,)
$loopend()$loopend()