Q. What if I want my album art embedded?
A. As of abcde 2.8.2 it is possible to have the album art automatically
embedded in the mp3 container using eyeD3, embedded in the flac container
- using metaflac and embedded in the m4a container using AtomicParsley.
+ using metaflac, embedded in the m4a container using AtomicParsley and
+ embedded in the wv container using wvtag.
There are 3 different ways to accomplish this:
2. Use the command line '-a embedalbumart' option to add to list of actions
3. Use 'embedalbumart' in the 'ACTIONS' list in ~/.abcde.conf
- Next in line will be embedding album art in WavPack files using wvtag
- and perhaps after that embedding in Ape files...
+ Adding newer containers for album art embedding should be fairly straightforward
+ and these will be added when the right combination of available abcde developer
+ time and abcde user interest occurs...
4. FORMATS
=======
FINALDIR="$(dirname "$OUTPUTDIR/$FINDPATH")"
cd "$FINALDIR"
-# Instructions for each format, feel free to add more. A good one to add in
-# next would be WavPack embedding using the the new wvtag utility shipped
-# with WavPack 5.1.0 and greater... Andrew.
+# Instructions for each format, feel free to add more. It would be nice to
+# make the backup directory selectable and perhaps also have an option for
+# the bold to simply have the image deleted. Work for another day... Andrew.
if [ -e "$ALBUMARTFILE" ] ; then
case "$OUTPUT" in
mp3)
do
"$EYED3" --add-image "$ALBUMARTFILE":FRONT_COVER "$i"
done
- # FIXME: Make the backup process selectable...
mkdir "$FINALDIR"/albumart_backup
mv "$ALBUMARTFILE" "$FINALDIR"/albumart_backup
vecho "Successfully embedded the album art into your $OUTPUT tracks" >&2
do
"$METAFLAC" --import-picture-from="$ALBUMARTFILE" "$i"
done
- # FIXME: Make the backup process selectable...
mkdir "$FINALDIR"/albumart_backup
mv "$ALBUMARTFILE" "$FINALDIR"/albumart_backup
vecho "Successfully embedded the album art into your $OUTPUT tracks" >&2
do
"$ATOMICPARSLEY" "$i" --artwork "$ALBUMARTFILE" --overWrite
done
- # FIXME: Make the backup process selectable...
+ mkdir "$FINALDIR"/albumart_backup
+ mv "$ALBUMARTFILE" "$FINALDIR"/albumart_backup
+ vecho "Successfully embedded the album art into your $OUTPUT tracks" >&2
+ ;;
+ wv)
+ for i in *.wv
+ do
+ "$WVTAG" --write-binary-tag "Cover Art (Front)=@"$ALBUMARTFILE"" "$i"
+ done
mkdir "$FINALDIR"/albumart_backup
mv "$ALBUMARTFILE" "$FINALDIR"/albumart_backup
vecho "Successfully embedded the album art into your $OUTPUT tracks" >&2
METAFLAC=metaflac
NEROAACTAG=neroAacTag
ATOMICPARSLEY=AtomicParsley
+WVTAG=wvtag
WINE=wine
CDPARANOIA=cdparanoia
[ "$DOTAG" = "y" ]
[ "$DOREPLAYGAIN" = "y" ] && NEEDWVGAIN=y
[ "$WVENCODERSYNTAX" = "ffmpeg" ] && DOREPLAYGAIN=n
+ [ "$EMBEDALBUMART" = "y" ] && NEEDWVTAG=y
;;
ape)
[ "$APENCODERSYNTAX" = "default" ] && APENCODERSYNTAX=mac
${NEEDWVGAIN+WVGAIN} ${NEEDAPETAG+$APETAG} \
${NEEDCUE2DISCID+$CUE2DISCID} ${NEEDNEROAACTAG+$NEROAACTAG} \
${NEEDGLYRC+$GLYRC} ${NEEDWINE+$WINE} ${NEEDATOMICPARSLEY+$ATOMICPARSLEY} \
- ${NEEDMID3V2+$MID3V2} ${NEEDEYED3+$EYED3}
+ ${NEEDMID3V2+$MID3V2} ${NEEDEYED3+$EYED3} ${NEEDWVTAG+$WVTAG}
do
checkexec "$X"
done
.B \-B
Enable automatic embedding of album art with certain containers. As of
abcde 2.8.2 supported containers are mp3 (using eyeD3), flac (using
-metaflac) and m4a (using AtomicParsley). This command line option also
-calls the getalbumart function. Further details of album art embedding
-using the embedalbumart function can be found in the abcde FAQ document
-packaged with abcde.
+metaflac), m4a (using AtomicParsley) and WavPack aka wv (using wvtag).
+This command line option also calls the getalbumart function. Further
+details of album art embedding using the embedalbumart function can be
+found in the abcde FAQ document packaged with abcde.
.TP
.B \-c [filename]
Specifies an additional configuration file to parse. Configuration options
Will pass "\-b 192" to the Ogg/Vorbis encoder, without having to modify the
config file
.TP
-.B abcde \-o mp3,flac,m4a -B
-abcde will create mp3, flac and m4a files and also select suitable album art,
+.B abcde \-o mp3,flac,m4a,wv -B
+abcde will create mp3, flac, m4a and wv files and also select suitable album art,
download and embed the album art into all 3 sets of tracks.
.TP
.B abcde \-W 1
.BR convert (1),
.BR wavpack (1),
.BR wvgain (1),
+.BR wvtag (1),
.BR id3 (1),
.BR eyeD3 (1),
.BR wget (1),
#MKTOC=cdrdao
#DIFF=diff
#WVGAIN=wvgain
+#WVTAG=wvtag
#APETAG=apetag
#GLYRC=glyrc
#IDENTIFY=identify
and also in the abcde mailing list:
https://lists.einval.com/pipermail/abcde-users/2017-January/000232.html
* Allow for embedding of album art downloaded by the getalbumart fuction.
- Currently this is available for flac (using metaflac), mp3 (using eyed3)
- and m4a (using AtomicParsley). This can be invoked in 3 ways:
+ Currently this is available for flac (using metaflac), mp3 (using eyed3),
+ m4a (using AtomicParsley) and WavPack aka wv (using wvtag).
+ This can be invoked in 3 ways:
1. Use the commandline '-B' option (this will also call getalbumart)
2. Use the commandline '-a embedalbumart' option to add to list of actions