mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 11:32:30 +01:00
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:
parent
f2998d279a
commit
b4caa0e475
1 changed files with 3 additions and 0 deletions
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue