Skip to content

BUG-25: proceed without cover art on download failure - #49

Merged
Gabriel-Lewis merged 1 commit into
devfrom
fix/bug-25-cover-failure
Oct 20, 2026
Merged

Gabriel-Lewis merged 1 commit into
devfrom
fix/bug-25-cover-failure

Conversation

@Gabriel-Lewis

Copy link
Copy Markdown
Owner

DownloadCover returns empty paths unless the file exists; YouTube falls back to no-cover options. Verified: new failure-path test, golangci-lint 0 issues.

DownloadCover returned the destination path even when the fetch or
write failed, and the YouTube saver embedded that nonexistent file,
so one failed artwork download failed the whole song.

Only return paths for files that actually exist, and fall back to
the no-cover ffmpeg options when the cover path is empty. Adds a
failure-path unit test.
@Gabriel-Lewis
Gabriel-Lewis merged commit f0dad45 into dev Oct 20, 2026
4 checks passed
@Gabriel-Lewis
Gabriel-Lewis deleted the fix/bug-25-cover-failure branch October 20, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant