From fa64e8595a80d3015d67ce806199f81f9a61b503 Mon Sep 17 00:00:00 2001 From: Sophist <3001893+Sophist-UK@users.noreply.github.com> Date: Wed, 15 May 2024 18:07:19 +0100 Subject: [PATCH] Add "mood" tag to excluded tag list The mood tag set by the AcoustBrainz plugin has values which are either e.g. "Not happy" or "Happy". We do not want these sorted alphabetically but instead left in the same order as they are presented by AcoustBrainz. Note: The tag name is "mood" by default, but the user can change it in the ui. If the user changes it this exclusion will not be effective. --- plugins/sort_multivalue_tags/sort_multivalue_tags.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/sort_multivalue_tags/sort_multivalue_tags.py b/plugins/sort_multivalue_tags/sort_multivalue_tags.py index 34716c89..0fe3fbff 100644 --- a/plugins/sort_multivalue_tags/sort_multivalue_tags.py +++ b/plugins/sort_multivalue_tags/sort_multivalue_tags.py @@ -23,7 +23,7 @@
  • The sequence of one tag is linked to the sequence of another e.g. Label and Catalogue number.
  • ''' -PLUGIN_VERSION = "1.0" +PLUGIN_VERSION = "1.1" PLUGIN_API_VERSIONS = ["0.15", "2.0"] PLUGIN_LICENSE = "GPL-2.0-or-later" PLUGIN_LICENSE_URL = "https://www.gnu.org/licenses/gpl-2.0.html" @@ -40,6 +40,7 @@ 'label', 'catalognumber', 'country', 'date', 'releasetype', + 'mood', ) # Possible future enhancement: # Sort linked tags e.g. work so that the sequence in related tags e.g. workid retains the relationship between