Delete/re-create .sfv .m3u, tag and move compilation.

Hi,

After tagging my album against discogs wish works very well :slight_smile: I´m getting stuck with a lot of manual modification of the album structure.

I guess halv my collection has missing or incorrect .m3u, .sfv or .jpg. When my tagging is done my folder looks very messy. Some contain .CUE and some are not.

First I usally split the .CUE files in the album with foobar getting two new subfolders CD1 and CD2 wich works great.

When my tagging is done my folder structure looks like this.

va-sometihing.nfo
va-something.sfv
va-something.m3u
somejpg1.jpg
somejpg2.jpg
somejpg3.jpg
101-va-cd1.m3u
201-va-cd2.m3u
101.va-cd1.mp3
101.va-cd1.cue
201.va-cd1.mp3
201.va-cd1.cue
CD1 (folder.jpg)
CD2

I want to move the new tagged files in CD1 / CD2 with folder.jpg to a new folder with some modification of the actions group I´ve written below. At the same re-create .m3u and .sfv to the new folder based on my new tag from discogs. When this is done I can easily delete the old folder manually

Result exampel in new folder
newsfv.sfv
newAllm3u.m3u // All tracks in folder
newCD1m3u. // CD1
newCD2m3u. // CD2
folder.jpg
101-artist-track.mp3
...
201-artist-track.mp3
..
and so on

For now I´m using this action group ´s. This isn´t optimal either beacuse I want to rename the folder based on how many CD it contain´s. For now I marking the albums containing 2CD and run the command for the 2CD and vice versa for 1CD or 3 CD.

Single CD
$validate($replace(VA_-%album%CD$num(%year%,4), ,),_)

Dubbel CD
$validate($replace(VA_-%album%2CD$num(%year%,4), ,),_)

Tripple CD
$validate($replace(VA_-%album%3CD$num(%year%,4), ,),_)

//

Regards

If you use the field DISCNUMBER and have all files in one folder, sort your files in a way that the higher discnumber stands on top. If you format DIRECTORY the field values of the first files are taken. So you can format with:
$validate($replace(VA
-%album%%discnumber%CD_$num(%year%,4), ,),)

EDIT:
if you don't have %discnumber% but all your files are named as shown avove, you can still take $left(%_filename%,1) instead.

Thanks pone, I´ll give it a try tomorrow :slight_smile: