Return 404 when artwork is not available in /share/img endpoint
This commit is contained in:
@@ -54,7 +54,6 @@ func (a *albumArtworkReader) LastUpdated() time.Time {
|
||||
|
||||
func (a *albumArtworkReader) Reader(ctx context.Context) (io.ReadCloser, string, error) {
|
||||
var ff = a.fromCoverArtPriority(ctx, a.a.ffmpeg, conf.Server.CoverArtPriority)
|
||||
ff = append(ff, fromAlbumPlaceholder())
|
||||
return selectImageReader(ctx, a.artID, ff...)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user