Skip to content

Instantly share code, notes, and snippets.

@Sonico98
Created October 12, 2022 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sonico98/c7216269d2bc640603b80bf8f33c0e8b to your computer and use it in GitHub Desktop.
Save Sonico98/c7216269d2bc640603b80bf8f33c0e8b to your computer and use it in GitHub Desktop.
Mp3tag swap main and sort tags
[#0]
T=5
1=%album%
F=ORIGALBUM
[#1]
T=5
1=$if2(%albumsort%,%album%)
F=ALBUM
[#2]
T=5
1=$if($grtr($len($trim(%albumsort%)),0),%origalbum%,)
F=ALBUMSORT
[#3]
T=8
F=ALBUMARTISTSORT
1= [[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]
[#4]
T=8
F=ALBUMARTIST
1= [[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]
[#5]
T=5
1=%albumartist%
F=ORIGALBUMARTIST
[#6]
T=5
1=$if2(%albumartistsort%,%albumartist%)
F=ALBUMARTIST
[#7]
T=5
1=$if($grtr($len($trim(%albumartistsort%)),0),%origalbumartist%,)
F=ALBUMARTISTSORT
[#8]
T=5
1=%title%
F=ORIGTITLE
[#9]
T=5
1=$if2(%titlesort%,%title%)
F=TITLE
[#10]
T=5
1=$if($grtr($len($trim(%titlesort%)),0),%origtitle%,)
F=TITLESORT
[#11]
T=8
F=ARTISTSORT
1= [[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]
[#12]
T=8
F=ARTIST
1= [[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]
[#13]
T=5
1=%artist%
F=ORIGARTIST
[#14]
T=5
1=$if2(%artistsort%,%artist%)
F=ARTIST
[#15]
T=5
1=$if($grtr($len($trim(%artistsort%)),0),%origartist%,)
F=ARTISTSORT
[#16]
T=9
F=ORIGTITLE;ORIGARTIST;ORIGALBUM;ORIGALBUMARTIST
[#17]
T=2
F=ARTIST
1= [[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]
2=\\\\
3=0|0
[#18]
T=2
F=ARTISTSORT
1= [[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]
2=\\\\
3=0|0
[#19]
T=2
F=ALBUMARTIST
1= [[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]
2=\\\\
3=0|0
[#20]
T=2
F=ALBUMARTISTSORT
1= [[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]
2=\\\\
3=0|0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment