🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Do not attach Genres to the "Various Artists" artist
Deluane17d436902c5
diff --git a/persistence/artist_repository.go b/persistence/artist_repository.goindex 83508f898..4e433d851 100644--- a/persistence/artist_repository.go+++ b/persistence/artist_repository.go@@ -11,6 +11,7 @@ import ("github.com/astaxie/beego/orm""github.com/deluan/rest""github.com/navidrome/navidrome/conf"+ "github.com/navidrome/navidrome/consts""github.com/navidrome/navidrome/log""github.com/navidrome/navidrome/model""github.com/navidrome/navidrome/utils"@@ -66,6 +67,9 @@ func (r *artistRepository) Put(a *model.Artist) error {if err != nil {return err}+ if a.ID == consts.VariousArtistsID {+ return r.updateGenres(a.ID, r.tableName, nil)+ }return r.updateGenres(a.ID, r.tableName, a.Genres)}