Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thought: score album based on name array #3

Closed
djdembeck opened this issue Oct 1, 2021 · 1 comment
Closed

Thought: score album based on name array #3

djdembeck opened this issue Oct 1, 2021 · 1 comment
Labels
question Further information is requested

Comments

@djdembeck
Copy link
Owner

djdembeck commented Oct 1, 2021

Currently author score is based on the first author in the API response, against the media artist field.

In cases of multiple authors, this means scoring is hindered. Since it is comparing a full list of names against one name, the score deduction can fall below the approved threshold of 80. For example:

2021-10-01 12:31:53,331 (1467c0c74b38) :  INFO (sandbox:19) - -----------------------------------ALBUM SEARCH-----------------------------------
2021-10-01 12:31:53,332 (1467c0c74b38) :  INFO (sandbox:19) - Title               Hit Job
2021-10-01 12:31:53,332 (1467c0c74b38) :  INFO (sandbox:19) - Album               Hit Job
2021-10-01 12:31:53,332 (1467c0c74b38) :  INFO (sandbox:19) - Artist              Eric Cunningham, Achilles Stamatelaky, Lauren Gurganous
2021-10-01 12:31:53,336 (1467c0c74b38) :  INFO (sandbox:19) - -----------------------------------Search results-----------------------------------
2021-10-01 12:31:53,337 (1467c0c74b38) :  DEBUG (sandbox:19) - Score deduction from album: 0
2021-10-01 12:31:53,338 (1467c0c74b38) :  DEBUG (sandbox:19) - Score deduction from author: 38
2021-10-01 12:31:53,338 (1467c0c74b38) :  INFO (sandbox:19) - Result #1
2021-10-01 12:31:53,338 (1467c0c74b38) :  INFO (sandbox:19) - ID is               B091ZH3RCM
2021-10-01 12:31:53,338 (1467c0c74b38) :  INFO (sandbox:19) - Title is            Hit Job
2021-10-01 12:31:53,339 (1467c0c74b38) :  INFO (sandbox:19) - Author is           Eric Cunningham
2021-10-01 12:31:53,339 (1467c0c74b38) :  INFO (sandbox:19) - Narrator is         Keke Palmer
2021-10-01 12:31:53,339 (1467c0c74b38) :  INFO (sandbox:19) - Date is             2021-04-09
2021-10-01 12:31:53,339 (1467c0c74b38) :  INFO (sandbox:19) - Score is            62

@djdembeck djdembeck added the question Further information is requested label Oct 1, 2021
@djdembeck djdembeck changed the title Thought: score based on name array Thought: score album based on name array Oct 4, 2021
@djdembeck
Copy link
Owner Author

Implemented in 319e16f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant