Merge pull request #2143 from Jell-E/patch-1

Add BPM data with acousticbrainz
This commit is contained in:
Adrian Sampson 2016-07-27 14:58:10 -04:00
commit e2981dec4a
3 changed files with 7 additions and 0 deletions

View file

@ -133,6 +133,9 @@ def fetch_info(log, items, write):
item.average_loudness = get_value(
"lowlevel", "average_loudness"
)
item.bpm = get_value(
"rhythm", "bpm"
)
item.chords_changes_rate = get_value(
"tonal", "chords_changes_rate"
)

View file

@ -25,6 +25,9 @@ The are a couple of small new features:
filled-out path template for each file. :bug:`2050`
* :doc:`/plugins/embyupdate`: The plugin can now use an API key instead of a
password to authenticate with Emby. :bug:`2045` :bug:`2117`
* :doc:`/plugins/acousticbrainz`: The plugin now also adds a ``bpm``, when a
song can be found on AcousticBrainz, this is faster than using the bpm
plugin.
And there are a few bug fixes too:

View file

@ -14,6 +14,7 @@ For all tracks with a MusicBrainz recording ID, the plugin currently sets
these fields:
* ``average_loudness``
* ``bpm``
* ``chords_changes_rate``
* ``chords_key``
* ``chords_number_rate``