Picard-Last.fm.ng-Plugin
Picard-Last.fm.ng-Plugin copied to clipboard
Replacing Unknown Mood with album mood where available
First off this is SUCH a rad plugin thanks so much for creating it. Adding all the mood variables to my music has made my playlists in KODI amazing and so much more enjoyable.
I kind of have a feature request, but it's not clear to me if it would be easy to implement. I noticed on some albums that there is a general Mood value(s). But then for individual tracks there may/may not be a mood associated.
I wondered if it wouldn't be easy to adjust it to have an option whereby it would just set the track to the Album mood if none are found. What do you think? Having this is a little bit more helpful then Unknown.
My use case
Generally, I'm making playlists with single tracks based on various moods and then randomizing those lists. So I believe that KODI scans individual tracks rather than entire albums.
Environment and versions
- Operating system: Ubuntu
- Picard version(s): 1.42
- Plugin version(s) or commit hash: master
In Picard’s tagger script, you could set the mood to the albummood if the mood tag was empty like this:
$noop(<!-- Set track mood to album mood if we have no track mood -->)
$set(mood,$if(%mood%,%mood%,%albummood%))
Just for reference, since this is already an old issue.