Allowing album cover ids with prefix (al-)

This commit is contained in:
Deluan
2016-03-30 10:01:37 -04:00
parent 9fd530b78a
commit a7ccd76d54
5 changed files with 43 additions and 7 deletions
+1 -1
View File
@@ -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")