-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
As reported by Jose M Calhariz on the abcde-users mailing list:
> > > > On Wed, 18 Feb 2026 at 17:15, Jose M Calhariz via Abcde-users
> > > > <abcde-users@lists.einval.com> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I am trying to learn abcde and I am chasing a possible bug on abcde
> > > > > v2.12.0. Doing output to two formats (flac,mp3) and get cover art on
> > > > > both. With extra -V in one of tries I tried:
> > > > >
> > > > > abcde -V -V -V -V -B -o mp3 1 && abcde -V -V -V -V -B -o flac 1
> > > > >
> > > > > The mp3 gets the cover art, the flac is not generated.
Fix tested and confirmed by Jose:
On Thu, Feb 19, 2026 at 08:27:18AM +1100, josh wrote:
> I think I found the cause in the do_embedalbumart() function. The
> image is moved at the end of the case for each output format, so it
> won't be available for the next format.
>
> Have a look at lines 3704 - 3722 for the mp3 and flac cases.
> https://github.com/poddmo/abcde/blob/c30d1926c2258ce68932aa99bfc05299450c9046/abcde#L3704
>
> I've wondered in the past why the cover.jpg is missing from the abcde
> temp directory when cleaning was disabled. Those move cases would do
> it.
>
> Try changing them to copy commands, ie
>
> mv "$ALBUMARTFILE" "$FINALDIR"/albumart_backup
>
> becomes
>
> cp "$ALBUMARTFILE" "$FINALDIR"/albumart_backup
>
>
Yes, now I can generate both mp3 and flac files in one go with the
cover art.
Thank you
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request