Prefer older versions on GetTopSongs
This commit is contained in:
parent
2f11c2dc8f
commit
12cedee867
1 changed files with 2 additions and 0 deletions
|
|
@ -154,6 +154,8 @@ func (e *externalInfo) TopSongs(ctx context.Context, artist string, count int) (
|
||||||
squirrel.Like{"artist": artist},
|
squirrel.Like{"artist": artist},
|
||||||
squirrel.Like{"title": t.Name},
|
squirrel.Like{"title": t.Name},
|
||||||
},
|
},
|
||||||
|
Sort: "year",
|
||||||
|
Order: "desc",
|
||||||
})
|
})
|
||||||
if err != nil || len(mfs) == 0 {
|
if err != nil || len(mfs) == 0 {
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue