BUG: Wrong Import with Multi-Value Field
I'm using two Actions to export and import what I call Preferences fields, which include fields such as:
Genre, all types of Ratings, Mood, Occasion and Keywords.
Some of the those fields are Multi-Value: Genre, Mood, Occasion, Keywords
I'm not doing this directly through the Export Menu and the Command to Import Text File to Tags.
I detected the problem by chance, because it's hard to detect, but then tested it carefully in this
SITUATION:
- Field: Genre
- Current Value="New Age\\Chill-out"
- Imported Value="New Age"
PROBLEM (Bug):
Since the first value is the same, it doesn't do anything, leaving the field as is, and therefore not removing the second value (Chill-out) as it should.
It only happens when trying to import only one value. If importing at least two values, even if they already exist, it will clear the remaining values correctly.
So my guess is that it has to do with the presence of the split character: if there is one, everything works fine, if there is none, it fails in this particular case.
TURNAROUND
Remove the fields before importing them.
However this is only doable in a practical way if you're using an Action, like I am. If you are doing this directly, it's not very easy or practical, because not all values might be updated and you don't know which ones will be.
FURTHER HELP:
If you want, I can send you both my Export and Import actions, along with the export file and some empty FLAC files where I tried this.
I consider the consequences of this bug very tough to find (and that's the main concern about it), although it's not critical.
It's never too much to say: Thank you Florian, for producing this great piece of software.
[Edit: corrected a few "typos" and omitted words]