Prefer starred and high rated versions for Top Songs

This commit is contained in:
Deluan 2020-10-21 15:11:26 -04:00
parent 075c28d2e5
commit 69e1059705
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ func (e *externalInfo) findMatchingTrack(ctx context.Context, mbid string, artis
}, },
squirrel.Like{"title": title}, squirrel.Like{"title": title},
}, },
Sort: "year", Sort: "starred desc, rating desc, year asc",
}) })
if err != nil || len(mfs) == 0 { if err != nil || len(mfs) == 0 {
return nil, model.ErrNotFound return nil, model.ErrNotFound