"warnings.warn("beets.mediafile is deprecated; use mediafile instead"
Closed this issue ยท 7 comments
After running python 3.8 update ver 3.8.5-1~20.4 from my Linux mint 20 update manager, this message pops up:
/home/avi/.local/lib/python3.8/site-packages/beets/mediafile.py:21: UserWarning: beets.mediafile is deprecated; use mediafile instead warnings.warn("beets.mediafile is deprecated; use mediafile instead")
Any idea what is this all about? or how is it possible to fix?
for a short term workaround i went and changed the lines 'import beet.mediafile' to 'import mediafile' in '~.local/lib/python3.8/site-packages/extrafiles.py'.
Now the warning is gone but I'm not sure it will work properly though.
Is this released? I can't seem to install it through pip3.
Same issue here. Is there a fix already?
Just trying this plugin for the first time. I installed using pip3 (not grabbing the repo directly though I guess I will try that), I am still encountering this error
I manually patched my ./python/site-packages/beetsplug/extrafiles.py file with the diff that was merged here:
https://github.com/Holzhaus/beets-extrafiles/pull/23/files/7e4f0d374d454b31042ba5413f68610f03e75566
@ctracy This worked for me. Thank you!
lol, seeing that this fix hasn't actually been pushed in a release in over two years, when this is in the FAQ is just :chefs_kiss:
lol, seeing that this fix hasn't actually been pushed in a release in over two years, when this is in the FAQ is just :chefs_kiss: