fdemmer / Picard-Last.fm.ng-Plugin

A last.fm-tag plugin for MusicBrainz Picard
GNU General Public License v3.0
87 stars 17 forks source link

Replacing Unknown Mood with album mood where available #46

Open shaneonabike opened 6 years ago

shaneonabike commented 6 years ago

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

Moonbase59 commented 4 years ago

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.