Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserWarning for Autobpm plugin #5640

Open
nullmonk opened this issue Feb 21, 2025 · 0 comments
Open

UserWarning for Autobpm plugin #5640

nullmonk opened this issue Feb 21, 2025 · 0 comments

Comments

@nullmonk
Copy link

Problem

Beets is generating a Warning when importing files with the autobpm plugin enabled.

/home/user/.local/lib/python3.9/site-packages/beetsplug/autobpm.py:64: UserWarning: PySoundFile failed. Trying audioread instead.                                                                                                           
  y, sr = librosa.load(item.filepath, res_type="kaiser_fast")                                                         
/home/user/.local/lib/python3.9/site-packages/librosa/core/audio.py:184: FutureWarning: librosa.core.audio.__audioread
_load                                                                                                                 
        Deprecated as of librosa version 0.10.0.                                                                      
        It will be removed in librosa version 1.0.

Pip versions:

Setup

  • OS: Debian 11 (bullseye)
  • Python version: 3.9.2
  • beets version: 2.2.0
  • Turning off plugins made problem go away (yes/no): Yes

Pip versions:

audioread      3.0.1
librosa            0.10.2.post1

My configuration (output of beet config) is:

autobpm:                                                                                                              
    auto: yes                                                                                                         
    overwrite: no                                                                                                     
    beat_track_kwargs: {} 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant