#41 Use search result scores to show best matching result on top of list

Merged
DebenOldert merged 3 commits from DebenOldert/scoring_results into DebenOldert/master 5 years ago

By using a system to score each search result, the best results are shown on top of the list. This also lays the foundation for automated setup. Based on #11

Currently, the system decreases the score if this occurs:

Criteria Score
Duration <180s -0.5
Duration >600s -1
'radio' in title -1
Artist does not match search -2
Title does not match search -2

The system increases the score if this occurs:

Criteria Score
Title is perfect match == +1
Song duration is known +0.1
File size is known +0.1

These lists will be updated upon further evaluation.

Only results with a score greater than 0 are shown.

By using a system to score each search result, the best results are shown on top of the list. This also lays the foundation for automated setup. Based on #11 Currently, the system decreases the score if this occurs: | Criteria | Score | | --- | --- | | Duration <180s | -0.5 | | Duration >600s | -1 | | 'radio' in title| -1 | | Artist does not match search | -2 | | Title does not match search | -2 | The system increases the score if this occurs: | Criteria | Score | | --- | --- | | Title is perfect match `==` | +1 | | Song duration is known | +0.1 | | File size is known | +0.1 | These lists will be updated upon further evaluation. Only results with a score greater than 0 are shown.
Deben Oldert commented 5 years ago
Owner

Tested for a night. Results look good, the desired item to download is always shown on top :+1:

Tested for a night. Results look good, the desired item to download is always shown on top :+1:
This pull request has been merged successfully!
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.