-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
absubmit: Do not filter on supported formats #2471
Comments
Thanks! If that's the case, then we shouldn't filter on our internal list of "supported" formats, here: Lines 93 to 95 in 4d90c96
@inytar, is there any particular reason you added that type filter rather than just letting the command fail on unsupported formats? |
At first I was failing if the extractor gave an error, this was to make sure these files are just skipped instead of stopping the extractor from doing its work. As we now just log an error this can be removed. This will mean that you might see a lot of error messages in your log (I don't know if the extractor returns meaningful errors wich we could parse, then we could just log to info if the file type is not supported). At the same time acousticbrainz is very specific on which file types they support: http://acousticbrainz.org/contribute, thus even if the upstream essentia supports these file types the acousticbrainz extractor might not. As mentioned in the Acousticbrainz faq, they prefer it if you use their static compiled extractor: http://acousticbrainz.org/faq |
Huh; that's interesting! I wonder if they meant that list to be the definitive list of all formats they want to support, or just a hint saying that they know these ones work in FFmpeg. Assuming that this was just meant to be a hint, we can safely remove the check. Thanks for providing context, @inytar! Also, back to the original problem— |
Are we sure that the |
Oh, no—that would be the file extension. I think the format value (from MediaFile) would just be "WavPack." |
Ah, that's my error, is there a list of formats? |
Back to the part about parsing the error message from the extractor tool. If I try it on a opus file I get the following message:
With an exit code of 1. |
Yep, the list is on the right-hand site of this map in MediaFile: Lines 63 to 77 in 5ed2798
Yeah, that error is not all that parse-able; you're right. That doesn't sound too verbose… in most cases, it probably doesn't matter to the user why the extractor failed; just that it failed. |
If there is anything I can do to help, let me know. I'm glad to provide a short file or logs. |
Hey, @bearcatsandor—we just merged a fix. Can you give the latest source a try to see if it works? |
Well, uh. I think so but there's no way to tell. Doing Looking at the tags in the file, no changes have been made. Looking at https://acousticbrainz.org/datasets/list i don't see anything from today, so how would we know if anything had actually happened? |
Is there anything in the verbose log? |
Yes. Doing a -vv i do see: absubmit: Successfully submitted AcousticBrainz analysis for Caravan Palace - 2008 - Caravan Palace - Je m’amuse - 3:34. So ...uh.. Now what? I don't see anywhere on AcousticBrains where this data is listed. Doing a |
As the docs for the plugins describe, the data is stored in flexible attributes. Is the data visible in |
No. Here's an info dump of one of the files that i submitted and then did a `beet acousticbrainz' on: |
Sorry; I should have been more specific: you'll want to use the library viewing functionality of |
what i did was a `beet info caravan palace dragons'. That should have done it, yes? |
Yes indeed. Weird! I don't currently see any clear reason why the plugin wouldn't be adding the relevant fields. |
Anything else i can do? Provide a file? |
Could you try using the acousticbrainz plugin to download the metadata? It might be that it takes acousticbrainz some time from upload to presenting it. The data is now online as can be checked on: https://acousticbrainz.org/api/v1/a7880efc-9085-4b77-b27d-8e3263f5e3fa/high-level. I am working on a branch which moves the absubmit plugin into the acousticbrainz plugin, this should solve the problem you are having. |
Just did a Maybe i'm just not understanding how this works. What i'm expecting is to see tags for gender, rhythm, danceability, mood, timbre, voice/instrumental (and hopefully initial key and tempo someday) in my files. Having them merged will be great! Thanks for your work inytar. |
Oh dear, I'm afraid I might have misled you—you'll need to use the
You can see a bunch of AB goodness in there. |
OH MY GOD!! I haven't been so happy about something for a long time! Thank you both so much for your hard work on this. I mean, i can now queue up all my Metallica instrumentals and it's accurate? That's amazing! |
Yay! Glad it's working. |
Problem
When running
beet absubmit artist:"ace frehley" title:"rip it out"
i get the errorabsubmit: Not analysing Ace Frehley - 1978 - Ace Frehley - Rip It Out - 3:39, file not in supported format.
However, i submited a bug about it to the essentia developers ( MTG/essentia#569 ) and they claim that since essentia is based on ffmpeg that it should work just fine.
Can you tell me what is going on? I've placed a strace here: https://gist.github.com/4eb667a7eb81cdcfb16096b05240c651
Any ideas how i can fix this? The strace complains about my missing the files /home/bearcat/.config/beets/musiclibrary.blb-wal and /home/bearcat/.config/beets/musiclibrary.blb-journal but i've never seen mention of those files anywhere else.
Setup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: