MTG/acousticbrainz-client

error output should go to stderr

Opened this issue · 2 comments

Currently errors like this:

[:( nombid ] /var/data/music/flac-db/Various Artists/1999: Fritz Hitz: Die beste Musik der Welt, Volume 0,5/00 - Butch Water - Obst.flac
Process step: Read metadata
  Cannot find musicbrainz recording id
Quitting early.

go to stdout.
So something like abzsubmit /var/data/music/flac-db 2> error.log doesn't work.

Do you want the filename to go to the error log as well? (it already goes
to stdout, where it should, but if we send the output to error we should
send the filename too.

On 21 October 2014 17:03, Johannes Dewender notifications@github.com
wrote:

Currently errors like this:

[:( nombid ] /var/data/music/flac-db/Various Artists/1999: Fritz Hitz: Die beste Musik der Welt, Volume 0,5/00 - Butch Water - Obst.flac
Process step: Read metadata
Cannot find musicbrainz recording id
Quitting early.

go to stdout.
So something like abzsubmit /var/data/music/flac-db 2> error.log doesn't
work.


Reply to this email directly or view it on GitHub
#21.

The filename should appear in stdout, but the stderr log should have enough info also without stdout. So we also need the filename there.