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

ادغام شده
DebenOldert 3 کامیت ادغام شده از DebenOldert/scoring_results به DebenOldert/master 5 سال پیش

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 نظر 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:
درخواست pull request با موفقیت ادغام شد!
برای پیوستن به گفتگو، وارد شودید.
بدون نقطه عطف
بدون مسئول رسیدگی
1 مشارکت کننده
درحال بارگذاری...
لغو
ذخيره
هنوز محتوایی ایجاد نشده.