Sorry for bumping this up, but i have a problem using --write-binary-tag with foobar2000.
I tried to encode an image file with embedded cuesheet and embedded front cover using this string:
-hhilmqx --write-binary-tag "Cover Art (Front)=@C:\Users\Gerhard\Pictures\CD Cover\%artist% - %date% - %album%.*" - %d
but always get an error message:
Could not load info (Object not found) from:
"C:\Users\Gerhard\Music\Image\Erasure\1988 - The Innocents.wv"
and the console output says (snippet...):
Conversion failed: The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters
Source: "C:\Users\Gerhard\Music\Unbearbeitet\Albums\Erasure\1988 - The Innocents\02. Ship Of Fools.wv"
An error occurred while writing to file (The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters) : "C:\Users\Gerhard\Music\Image\Erasure\1988 - The Innocents.wv"
Additional information:
Encoder stream format: 44100Hz / 2ch / 16bps
Command line: "C:\Program Files (x86)\foobar2000\wavpack.exe" -hhilmqx --write-binary-tag "Cover Art (Front)=@C:\Users\Gerhard\Pictures\CD Cover\Lossless\Erasure - 1988 - .*" - "1988 - The Innocents.wv"
Working folder: C:\Users\Gerhard\Music\Image\Erasure\
Conversion failed: The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters
Could not write chapter information: Object not found
No problem when i encode to separate files instead of an image file with embedded cuesheet.
It looks like wavpack (or foobar2000?) refuses to recognize the %album% part of the string when encoding to an image file, but recognizes it for separate files.
Any workaround?
EDIT:
It works with this string:
-hhilmqx --write-binary-tag "Cover Art (Front)=@C:\Users\Gerhard\Pictures\CD Cover\%artist% - %date%*" - %d
But this is not very convenient because sometimes there are more than one picture from the same artist and the same year in the folder...
Any other ideas?