Repository navigation
Commit 4123db6
feat: folder cover-art fallback when no embedded ID3 cover
When the current track has no embedded APIC cover, /cover now looks for a sidecar
image in the track's directory (cover.jpg/.jpeg/.png, folder.jpg/.png) and serves it
before falling back to the placeholder music icon. Common for audiobooks/albums that
ship a folder image instead of per-file embedded art.
Verified on the test device: playing a no-art MP3 from a folder containing cover.jpg
-> /cover returns image/jpeg (the folder image); placeholder still used when absent.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 96b83b7 commit 4123db6
2 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3478 | 3478 | | |
3479 | 3479 | | |
3480 | 3480 | | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
| 3494 | + | |
| 3495 | + | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
3481 | 3499 | | |
3482 | 3500 | | |
3483 | 3501 | | |
| |||
0 commit comments