X-Git-Url: https://git.einval.com/cgi-bin/gitweb.cgi?p=abcde.git;a=blobdiff_plain;f=FAQ;h=e0f64ec442140f1da921df03e3e0e42d1ad5e30f;hp=1c9e8fefe1a165597f3c0b02ebbac65ba0393caf;hb=a4309361c9623ab18e88977da7c86e9daf016f3e;hpb=b7c302bc747e684c5396b1b56320dc50f13af817 diff --git a/FAQ b/FAQ index 1c9e8fe..e0f64ec 100644 --- a/FAQ +++ b/FAQ @@ -284,21 +284,21 @@ A. The philosophy of getalbumart at the moment is to simply place the album ARTISTFILE="$(mungefilename "$TRACKARTIST")" ALBUMFILE="$(mungefilename "$DALBUM")" - if [ "$OUTPUTTYPE" = "mp3" ] && [ "$TAGGER" = "$EYED3" ] ; then - vecho "Preparing to embed the album art..." >&2 - else - vecho "Not embedding album art, you need mp3 output and eyeD3 tagging..." >&2 - return 1 - fi - if [ "$VARIOUSARTISTS" = "y" ] ; then FINDPATH="$(eval echo "$VAOUTPUTFORMAT")" else FINDPATH="$(eval echo "$OUTPUTFORMAT")" fi - TRIMPATH="$(dirname "$OUTPUTDIR/$FINDPATH")" - cd "$TRIMPATH" + FINALDIR="$(dirname "$OUTPUTDIR/$FINDPATH")" + cd "$FINALDIR" + + if [ "$OUTPUTTYPE" = "mp3" ] && [ "$TAGGER" = "$EYED3" ] ; then + vecho "Preparing to embed the album art..." >&2 + else + vecho "Not embedding album art, you need mp3 output and eyeD3 tagging..." >&2 + return 1 + fi if [ -e "cover.jpg" ] ; then for i in *.mp3