mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-07 13:51:10 +03:00
Artist for a given Genre doesn't work now, IIRC I remember there being
some chatter in #dev about it
This commit is contained in:
parent
c1fde0f4e4
commit
9befc4abab
@ -193,7 +193,7 @@ func handleGenre(matchResults map[string]string, ret []interface{}, cds *content
|
|||||||
}
|
}
|
||||||
return cds.doMediaFiles(tracks, o.Path, ret, host)
|
return cds.doMediaFiles(tracks, o.Path, ret, host)
|
||||||
} else if matchResults["Genre"] != "" {
|
} else if matchResults["Genre"] != "" {
|
||||||
if matchResults["GenreArtist"] == "" {
|
if matchResults["GenreArtist"] == "" { //TODO, I think this isn't possible/obvious at the moment since the bfr.
|
||||||
artists, err := cds.ds.Artist(cds.ctx).GetAll(model.QueryOptions{Filters: squirrel.Eq{"genre.id": matchResults["Genre"]}})
|
artists, err := cds.ds.Artist(cds.ctx).GetAll(model.QueryOptions{Filters: squirrel.Eq{"genre.id": matchResults["Genre"]}})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("Error retrieving artists for genre: %+v", err)
|
fmt.Printf("Error retrieving artists for genre: %+v", err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user