[Script] - Update with a sorted version of a field containing comma-separated values


#1

Good Day Everyone,

I am trying to figure out whether or not it is possible to update a field (Genre for that matter) that contains a list of comma-separated values (for example 'Tech House, Jazz, Ambient') with a sorted version of the very same field (with the previous example leading to 'Ambient, Jazz, Tech House') ?

Thank you for any help you may provide me with,

Don


Action um Mehrfach-Werte in einem Tag alphabetisch zu sortieren
#2

Currently there is no chance to do so in Mp3tag.

DD.20130104.1728.CET


#3

There is no sorting function on fields for scripting in MP3tag.

You would have to export the field contents to an external text-file, let loose an external sorting application and then re-import the updated text-file.
Please not that for V1 tags only the pre-defined genres are valid (and are encoded with an id).

Other applications like WMP may display multiple values for some fields (composer, artist) but WMP uses the semi-colon plus blank to separate entries - the entries then appear as single composers (in alphabetical order created by WMP, though, so there is no need to sort in the fields).
iTunes does nothing like that.

If you are lucky enough to find a player that can cope with these entries, please also note that sometimes an alphabetically sorted order does not reflect other requirements as some terms may represent the major entry (e.g. jazz) and the next one (e.g. free) the minor classification.


#4

Thank you both for your precious answers,

Don