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

Merge realizado
DebenOldert mesclou 3 commits de DebenOldert/scoring_results em DebenOldert/master 5 anos atrás

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 comentado 5 anos atrás
Proprietário

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:
O merge deste Pull Request foi aplicado com sucesso!
Faça login para participar desta conversação.
Sem milestone
Não atribuída
1 participantes
Carregando...
Cancelar
Salvar
Ainda não há conteúdo.