mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-19 08:54:02 +00:00
Allowing album cover ids with prefix (al-)
This commit is contained in:
parent
9fd530b78a
commit
a7ccd76d54
5 changed files with 43 additions and 7 deletions
|
|
@ -40,7 +40,7 @@ func (c *MediaRetrievalController) GetCoverArt() {
|
|||
switch {
|
||||
case err == domain.ErrNotFound:
|
||||
beego.Error(err, "Id:", id)
|
||||
c.SendError(responses.ErrorDataNotFound, "Directory not found")
|
||||
c.SendError(responses.ErrorDataNotFound, "Cover not found")
|
||||
case err != nil:
|
||||
beego.Error(err)
|
||||
c.SendError(responses.ErrorGeneric, "Internal Error")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue