Fix tempfile creation for essentia update (new essentia does not autoappend .json)
Handle non-zero return codes of the extractor

If it returned with a non-zero one, we don't need to try to open the
JSON file.

Closes #4

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Merge branch 'tempfile-fix' of https://github.com/ianmcorvidae/acousticbrainz-client

Conflicts:
	abz/acousticbrainz.py
Check if the extractor wrote to tmpname or tmpname + ".json"

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Use sqlite for file logging

Fixes #7
Use ffmpeg codecs for lossless, mark files as broken if extractor fails
Make strings in sqlite utf-8
Use the config file in the directory returned by get_config_dir

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Add a basic FAQ section to the README with some questions we've gotten a couple times now.
Also scan .mp4's and .wma's.
Merge pull request #15 from ianmcorvidae/readme-faq

Add a basic FAQ section to the README with some questions we've gotten a couple times now.
Merge pull request #16 from Freso/more-extensions

Also scan .mp4's and .wma's.
Add all audio formats common to ffmeg and taglib
Remove dupe "mp4" and group extensions somewhat.
Merge pull request #17 from Freso/clean-extensions

Remove dupe "mp4" and group extensions somewhat.
Update client

- Print less messages
- print success messages over the previous ones
- Create a profile file now that the extractor does lossless
  - pass essentia build hash with profile
  - format json
- Catch errors depending on return code of extractor
Print the server error
readme updates
setup.py!

Run from your favourite directory
Import distutils.spawn in config.py.

Signed-off-by: Ian McEwen <ianmcorvidae@ianmcorvidae.net>