I've been using MP3Tag for a while now and thought I'd share one of the custom solutions I've incorporated.
This one was inspired by a YT video by https://www.youtube.com/@JaylinGant. Probably a good chance he's on the forum here so "Hi".
He had a column called Tag Level with a progress bar. I thought this looked pretty cool but the video didn't go into a lot of detail of how it was setup so I created my own.
My Tag Completion column starts with a number and the bar itself. Both of them are worked out on the percentage of my mandatory tags that are specified in the fields value.
To make things a little more complicated, the required fields change dynamically depending on the release. For example:
- For multi-disc releases, I expect both DISCNUMBER and DISCTOTAL to be populated.
- For single-disc releases, neither is required.
- For vinyl releases, I also check for RIPPER and DATERIPPED.
It looks cool, but why do I need this?
I use a lot of tags and find myself needing to scroll left and right all the time to view them all. While I still need to do this for checking the actual values it's nice to have for a quick check. The column can also be sorted by % complete.
Full disclosure, I used AI help develop this, as well as a lot of other tweaks. Honestly I've found it to be a game changer. I don't recommend just copying the code as I use custom tags and it's setup for my workflow. Just wanted to show what was possible.
Show Mp3tag Tag Completion Code
$num($div($mul($add($if(%track%,1,0),$if(%title%,1,0),$if(%artist%,1,0),$if(%albumartist%,1,0),$if(%year%,1,0),$if(%album%,1,0),$if(%sourceformat%,1,0),$if($or($grtr($num(%disctotal%,1),1),$grtr($num(%totaldiscs%,1),1),$ifgreater($strchr(%discnumber%,/),0,$grtr($num($regexp(%discnumber%,^.*?/([0-9]+).*$,$1),1),1),0)),$if(%discnumber%,1,0),0),$if($or($grtr($num(%disctotal%,1),1),$grtr($num(%totaldiscs%,1),1),$ifgreater($strchr(%discnumber%,/),0,$grtr($num($regexp(%discnumber%,^.*?/([0-9]+).*$,$1),1),1),0)),$if($or(%disctotal%,%totaldiscs%),1,0),0),$if($eql(%sourceformat%,Vinyl),$if(%ripper%,1,0),0),$if($eql(%sourceformat%,Vinyl),$if(%dateripped%,1,0),0)),10),$add(7,$if($or($grtr($num(%disctotal%,1),1),$grtr($num(%totaldiscs%,1),1),$ifgreater($strchr(%discnumber%,/),0,$grtr($num($regexp(%discnumber%,^.*?/([0-9]+).*$,$1),1),1),0)),2,0),$if($eql(%sourceformat%,Vinyl),2,0))),2) $repeat('▰',$div($mul($add($if(%track%,1,0),$if(%title%,1,0),$if(%artist%,1,0),$if(%albumartist%,1,0),$if(%year%,1,0),$if(%album%,1,0),$if(%sourceformat%,1,0),$if($or($grtr($num(%disctotal%,1),1),$grtr($num(%totaldiscs%,1),1),$ifgreater($strchr(%discnumber%,/),0,$grtr($num($regexp(%discnumber%,^.*?/([0-9]+).*$,$1),1),1),0)),$if(%discnumber%,1,0),0),$if($or($grtr($num(%disctotal%,1),1),$grtr($num(%totaldiscs%,1),1),$ifgreater($strchr(%discnumber%,/),0,$grtr($num($regexp(%discnumber%,^.*?/([0-9]+).*$,$1),1),1),0)),$if($or(%disctotal%,%totaldiscs%),1,0),0),$if($eql(%sourceformat%,Vinyl),$if(%ripper%,1,0),0),$if($eql(%sourceformat%,Vinyl),$if(%dateripped%,1,0),0)),5),$add(7,$if($or($grtr($num(%disctotal%,1),1),$grtr($num(%totaldiscs%,1),1),$ifgreater($strchr(%discnumber%,/),0,$grtr($num($regexp(%discnumber%,^.*?/([0-9]+).*$,$1),1),1),0)),2,0),$if($eql(%sourceformat%,Vinyl),2,0))))$repeat('▱',$sub(5,$div($mul($add($if(%track%,1,0),$if(%title%,1,0),$if(%artist%,1,0),$if(%albumartist%,1,0),$if(%year%,1,0),$if(%album%,1,0),$if(%sourceformat%,1,0),$if($or($grtr($num(%disctotal%,1),1),$grtr($num(%totaldiscs%,1),1),$ifgreater($strchr(%discnumber%,/),0,$grtr($num($regexp(%discnumber%,^.*?/([0-9]+).*$,$1),1),1),0)),$if(%discnumber%,1,0),0),$if($or($grtr($num(%disctotal%,1),1),$grtr($num(%totaldiscs%,1),1),$ifgreater($strchr(%discnumber%,/),0,$grtr($num($regexp(%discnumber%,^.*?/([0-9]+).*$,$1),1),1),0)),$if($or(%disctotal%,%totaldiscs%),1,0),0),$if($eql(%sourceformat%,Vinyl),$if(%ripper%,1,0),0),$if($eql(%sourceformat%,Vinyl),$if(%dateripped%,1,0),0)),5),$add(7,$if($or($grtr($num(%disctotal%,1),1),$grtr($num(%totaldiscs%,1),1),$ifgreater($strchr(%discnumber%,/),0,$grtr($num($regexp(%discnumber%,^.*?/([0-9]+).*$,$1),1),1),0)),2,0),$if($eql(%sourceformat%,Vinyl),2,0))))) $replace($trimLeft($if(%track%,,'|Track')$if(%title%,,'|Title')$if(%artist%,,'|Artist')$if(%albumartist%,,'|AlbumArtist')$if(%year%,,'|Year')$if(%album%,,'|Album')$if(%sourceformat%,,'|SourceFormat')$if($or($grtr($num(%disctotal%,1),1),$grtr($num(%totaldiscs%,1),1),$ifgreater($strchr(%discnumber%,/),0,$grtr($num($regexp(%discnumber%,^.*?/([0-9]+).*$,$1),1),1),0)),$if(%discnumber%,,'|DiscNumber'),)$if($or($grtr($num(%disctotal%,1),1),$grtr($num(%totaldiscs%,1),1),$ifgreater($strchr(%discnumber%,/),0,$grtr($num($regexp(%discnumber%,^.*?/([0-9]+).*$,$1),1),1),0)),$if($or(%disctotal%,%totaldiscs%),,'|DiscTotal'),)$if($eql(%sourceformat%,Vinyl),$if(%ripper%,,'|Ripper'),)$if($eql(%sourceformat%,Vinyl),$if(%dateripped%,,'|DateRipped'),),'|'),'|',', ')
