Album Art -- The Quick and Dirty Way.
authorSteve Youngs <steve@steveyoungs.com>
Sat, 20 Feb 2021 01:14:07 +0000 (11:14 +1000)
committerSteve Youngs <steve@steveyoungs.com>
Sat, 20 Feb 2021 01:14:07 +0000 (11:14 +1000)
commitefee9c61a935e37aeb6b7ab9903a8417950d1358
tree2868170a01462a8167c069458899610e1519d590
parent94cdcd3d3b5fae16a5406ab7512348a4e0574f0a
Album Art -- The Quick and Dirty Way.

If the file 'cover.jpg' exists in $PWD we'll attempt to embed it into
the Oggs and FLACs (sorry, not for MP3 at this stage).

The build script was also updated to ensure that 'install target'
always rebuilds stuff if necessary.

* album_art: New. A bare-bones script to embed image file into an
Ogg/Vorbis file.  I didn't write this and I cannot recall where I
found it.  There is also nothing in the file to indicate who wrote
it and when.

* build.sh (_install): Run 'all' if either zcdrip doesn't exist,
or if zcdrip.in is newer than zcdrip.
Create the ecdrip symlink in the install directory if either
$ESHELL is 1, or the symlink exists in the source directory.
Install 'album_art'.

* zcdrip.in (Description): "Ogg Vorbis" -> "Ogg/Vorbis".
Mention cover art.
(ARTWORK): New. Points to cover art image file.
(flacenc): Add cover art if $ARTWORK exists.
(oggrip): Ditto.

Signed-off-by: Steve Youngs <steve@steveyoungs.com>
album_art [new file with mode: 0755]
build.sh
zcdrip.in