Add BPM data with acousticbrainz

The bpm plugin is a very slow way to add bpm data to songs, using the acousticbrainz plugin is much faster and can doesn't need a new plugin.
This commit is contained in:
Jelle Besseling 2016-07-26 15:42:35 +02:00 committed by GitHub
parent f2998d279a
commit b4caa0e475

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"
)