Skip to content

Commit

Permalink
Add "mood" tag to excluded tag list
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Sophist-UK authored and phw committed Jun 25, 2024
1 parent e859f90 commit fa64e85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/sort_multivalue_tags/sort_multivalue_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<li>The sequence of one tag is linked to the sequence of another e.g. Label and Catalogue number.</li>
</ol>
'''
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"
Expand All @@ -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
Expand Down

0 comments on commit fa64e85

Please sign in to comment.