beetbox / pyacoustid

Python bindings for Chromaprint acoustic fingerprinting and the Acoustid Web service
MIT License
332 stars 66 forks source link

HTTP Error 400: BAD REQUEST #4

Closed T-Mac closed 12 years ago

T-Mac commented 12 years ago

when using the included aidmatch.py a webservice error is thrown. tracking this down further I find that urllib2 is throwing a HTTP Error 400: BAD REQUEST error on the initial request. Is this my problem or did acoustid change their api?

lalinsky commented 12 years ago

Nothing has changed on the server side. I guess pyacoustid should read the error message it gets from the server and show it to the user.

sampsyo commented 12 years ago

Thanks. This latest commit will pull the server's error message response out and fill in a field on the WebServiceError exception; the command-line tool also prints out this message.

If the error you're seeing ends up being the fault of the library, then please open another issue and we'll fix that too.