Prefer older versions on GetTopSongs

This commit is contained in:
Deluan 2020-10-20 23:46:45 -04:00
parent 2f11c2dc8f
commit 12cedee867
1 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,8 @@ func (e *externalInfo) TopSongs(ctx context.Context, artist string, count int) (
squirrel.Like{"artist": artist},
squirrel.Like{"title": t.Name},
},
Sort: "year",
Order: "desc",
})
if err != nil || len(mfs) == 0 {
continue