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

已合併
DebenOldert 5 年之前 將 3 次代碼提交從 DebenOldert/scoring_results合併至 DebenOldert/master

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 年之前
所有者

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:
該合併請求已經成功合併!
Sign in to join this conversation.
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容