Among other things, I have an MP3 collection of 211 files without tags.
I would like to generate basic information from the file names.
However, these are slightly different in their structure.
I have searched in vain for a way to pre-sort them.
Who has a suitable idea for editing them using Guess-Values?
You could filter for files with a given number of hyphens and then treat these (with a common structure) in 1 go. And then filter for the next number and treat those.
This would be a suggestion for such a filter: "$add($len($regexp(%_filename%,'[^-]',)),1)" IS 5
The regular expression removes anything that is not a hyphen from the given string (here: Filename) and then checks the length of the leftover
$add($len($regexp('24 - Bobby Fuller - D - CBS - 2639 - B - You Kiss Me.mp3','[^-]',)),1)
returns 7 $add($len($regexp('03 - Blossom Toes - D - Polydor 59180 - A - Ill Be Your Baby Tonight.mp3','[^-]',)),1)
returns 6