Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I've installed beets on linux mint 17.3.
I'm trying to get the chroma plugin to work but I got an error during import with every mp3 file saying
'''chroma: fingerprinting of 'music_raw/foo.mp3' failed: audio could not be decoded'''
I tried digging a bit in ipython and got to this point:
I am able to play these files in other music players.
Not sure what information you need to reproduce the error but if you let know I'll post it.
Any help will be appreciated!
I just looked at the installed packages on my sytem and there is a mix of 0.1 and 1.0 gstreamer packages. Is that normal? I had python-gst 0.1, then I tried installing both, then removing 0.1 and no combination worked.
Here is output from gst-play and gst-inspect:
Playing works fine but inspect is missing some library it seems.
They should coexist peacefully—but
Hmm; maybe I was wrong about
That comment suggests using
every gui audio program playing program I've used for the past 10 years has used some version of gstreamer or another, and I've never seen that happen (except the really short ones that I've never had IRL). Of course, there could be some bug related to that, but it's unlikely.
EDIT: I tend to use gst123 on the cli too, so maybe that's something to try after gst-discoverer-1.0
I think that the issue here is that for variable bitrate MP3 files, there's no way to know the duration without reading the whole file. So GstPad.query_duration() returns a duration of 0 if the file has not been read fully yet.
This could be worked around by reading the whole file in the init() method, then seeking back to the beginning.