🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Change avatar placeholder to new logo
Deluan04fd72e1fa99
diff --git a/consts/consts.go b/consts/consts.goindex 5eecc1a3f..9d56826bf 100644--- a/consts/consts.go+++ b/consts/consts.go@@ -31,6 +31,7 @@ const (SkipScanFile = ".ndignore"PlaceholderAlbumArt = "navidrome-600x600.png"+ PlaceholderAvatar = "logo-192x192.png")// Cache optionsdiff --git a/resources/logo-192x192.png b/resources/logo-192x192.pngnew file mode 100644index 000000000..1c8bfef33Binary files /dev/null and b/resources/logo-192x192.png differdiff --git a/server/subsonic/media_retrieval.go b/server/subsonic/media_retrieval.goindex e5f875da6..ca7300cf9 100644--- a/server/subsonic/media_retrieval.go+++ b/server/subsonic/media_retrieval.go@@ -22,7 +22,7 @@ func NewMediaRetrievalController(artwork core.Artwork) *MediaRetrievalController}func (c *MediaRetrievalController) GetAvatar(w http.ResponseWriter, r *http.Request) (*responses.Subsonic, error) {- f, err := resources.AssetFile().Open(consts.PlaceholderAlbumArt)+ f, err := resources.AssetFile().Open(consts.PlaceholderAvatar)if err != nil {log.Error(r, "Image not found", err)return nil, newError(responses.ErrorDataNotFound, "Avatar image not found")