Initial work on downsampling
The http connection is being closed before sending all data. May have something to do with the Range header
This commit is contained in:
@@ -31,7 +31,7 @@ func (c *GetCoverArtController) Get() {
|
||||
|
||||
var img []byte
|
||||
|
||||
if mf.HasCoverArt {
|
||||
if mf != nil && mf.HasCoverArt {
|
||||
img, err = readFromTag(mf.Path)
|
||||
beego.Debug("Serving cover art from", mf.Path)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user