Skip to content

embed album art into AIFF files #26

@Thermionic-Emission

Description

@Thermionic-Emission

kid3-cli works well for embedding album art into aiff files.

I added the following to a copy of abcde:

KID3=kid3-cli

aiff)
for i in *.aiff
do
"$KID3 -c 'select "$i"' -c 'set picture:"$ALBUMARTFILE" "Picture Description"' -c 'save'"
"$KID3 -c 'set picture:"coverart.jpg" "Front Cover"' "$i"

                            done
                            mkdir "$FINALDIR"/albumart_backup
                            mv "$ALBUMARTFILE" "$FINALDIR"/albumart_backup
                            vecho "Successfully embedded the album art into your $OUTPUT tracks" >&2
                    ;;

I am not confident of the kid3-cli command line string, as I have it set up. I am receiving the following error while running the script in debug mode:

++ echo Fleetwood Mac/Fleetwood Mac/11.

  • FINDPATH='Fleetwood Mac/Fleetwood Mac/11.'
  • '[' '' = y ']'
    ++ dirname '/home/robert/Music/Fleetwood Mac/Fleetwood Mac/11.'
  • FINALDIR='/home/robert/Music/Fleetwood Mac/Fleetwood Mac'
  • cd '/home/robert/Music/Fleetwood Mac/Fleetwood Mac'
  • '[' -e cover.jpg ']'
  • case "$OUTPUT" in
  • vecho 'Sorry, abcde does not embed album art for the aiff container...'
  • '[' x4 '!=' x ']'
  • '[' 4 -gt 0 ']'
  • case $1 in
  • echo 'Sorry, abcde does not embed album art for the aiff container...'
    Sorry, abcde does not embed album art for the aiff container...

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions