Closed darthShadow closed 1 year ago
Another example where the score went negative:
I don't see the issue here.
The search title is
Title Bravura!: Lucia Chase and the American Ballet Theatre
Audible's title is
Title is Bravura!
Due to the difference in characters, it's scoring correctly with colons. The issue is that your titles are very different from Audible, as I see it.
Got it, will update the metadata on those files accordingly.
Thanks for the reply.
I have quite a few colon-separated titles that are not matching due to the current scoring.
Examples:
Match - 1
``` 2023-05-03 11:17:41,051 (7f74ec383b38) : INFO (sandbox:19) - -----------------------------------ALBUM SEARCH----------------------------------- 2023-05-03 11:17:41,051 (7f74ec383b38) : INFO (sandbox:19) - Title Bravura!: Lucia Chase and the American Ballet Theatre 2023-05-03 11:17:41,051 (7f74ec383b38) : INFO (sandbox:19) - Album Bravura!: Lucia Chase and the American Ballet Theatre 2023-05-03 11:17:41,051 (7f74ec383b38) : INFO (sandbox:19) - Artist Alex C. Ewing 2023-05-03 11:17:41,051 (7f74ec383b38) : INFO (sandbox:19) - ---------------------------------------------------------------------- 2023-05-03 11:17:41,051 (7f74ec383b38) : DEBUG (sandbox:19) - Input Name: Bravura!: Lucia Chase and the American Ballet Theatre 2023-05-03 11:17:41,052 (7f74ec383b38) : DEBUG (sandbox:19) - Normalized Name: Bravura Lucia Chase and the American Ballet Theatre 2023-05-03 11:17:41,052 (7f74ec383b38) : DEBUG (sandbox:19) - Pre-processing title 2023-05-03 11:17:41,052 (7f74ec383b38) : INFO (sandbox:19) - Region Override: us 2023-05-03 11:17:41,052 (7f74ec383b38) : DEBUG (sandbox:19) - Search URL: https://api.audible.com/1.0/catalog/products?response_groups=contributors,product_desc,product_attrs&num_results=25&products_sort_by=Relevance&title=Bravura%20Lucia%20Chase%20and%20the%20American%20Ballet%20Theatre&author=Alex%20C.%20Ewing 2023-05-03 11:17:41,054 (7f74ec383b38) : DEBUG (networking:143) - Requesting 'https://api.audible.com/1.0/catalog/products?response_groups=contributors,product_desc,product_attrs&num_results=25&products_sort_by=Relevance&title=Bravura%20Lucia%20Chase%20and%20the%20American%20Ballet%20Theatre&author=Alex%20C.%20Ewing' 2023-05-03 11:17:42,225 (7f74ec383b38) : DEBUG (sandbox:19) - Found 1 result(s) for query "Bravura Lucia Chase and the American Ballet Theatre" 2023-05-03 11:17:42,225 (7f74ec383b38) : INFO (sandbox:19) - -----------------------------------Search results----------------------------------- 2023-05-03 11:17:42,225 (7f74ec383b38) : DEBUG (sandbox:19) - Score deduction from album: 74 2023-05-03 11:17:42,225 (7f74ec383b38) : DEBUG (sandbox:19) - Score deduction from author: 0 2023-05-03 11:17:42,226 (7f74ec383b38) : INFO (sandbox:19) - Result #1 2023-05-03 11:17:42,226 (7f74ec383b38) : INFO (sandbox:19) - ASIN is B00I4997FI_us 2023-05-03 11:17:42,226 (7f74ec383b38) : INFO (sandbox:19) - Author is Alex C. Ewing 2023-05-03 11:17:42,226 (7f74ec383b38) : INFO (sandbox:19) - Date is 2014-02-03 2023-05-03 11:17:42,226 (7f74ec383b38) : INFO (sandbox:19) - Narrator is Paul Boehmer 2023-05-03 11:17:42,226 (7f74ec383b38) : INFO (sandbox:19) - Region is us 2023-05-03 11:17:42,226 (7f74ec383b38) : INFO (sandbox:19) - Score is 26 2023-05-03 11:17:42,227 (7f74ec383b38) : INFO (sandbox:19) - Title is Bravura! 2023-05-03 11:17:42,227 (7f74ec383b38) : INFO (sandbox:19) - # Score is below ignore boundary (45)... Skipping! ```Match - 2
``` 2023-05-03 11:21:48,109 (7f74ec383b38) : INFO (sandbox:19) - -----------------------------------ALBUM SEARCH----------------------------------- 2023-05-03 11:21:48,110 (7f74ec383b38) : INFO (sandbox:19) - Title Can Rats Swim from Sewers into Toilets?: And Other Questions About Your Home 2023-05-03 11:21:48,110 (7f74ec383b38) : INFO (sandbox:19) - Album Can Rats Swim from Sewers into Toilets?: And Other Questions About Your Home 2023-05-03 11:21:48,110 (7f74ec383b38) : INFO (sandbox:19) - Artist Alison Behnke 2023-05-03 11:21:48,110 (7f74ec383b38) : INFO (sandbox:19) - ---------------------------------------------------------------------- 2023-05-03 11:21:48,110 (7f74ec383b38) : DEBUG (sandbox:19) - Input Name: Can Rats Swim from Sewers into Toilets?: And Other Questions About Your Home 2023-05-03 11:21:48,110 (7f74ec383b38) : DEBUG (sandbox:19) - Normalized Name: Can Rats Swim from Sewers into Toilets And Other Questions About Your Home 2023-05-03 11:21:48,110 (7f74ec383b38) : DEBUG (sandbox:19) - Pre-processing title 2023-05-03 11:21:48,111 (7f74ec383b38) : INFO (sandbox:19) - Region Override: us 2023-05-03 11:21:48,111 (7f74ec383b38) : DEBUG (sandbox:19) - Search URL: https://api.audible.com/1.0/catalog/products?response_groups=contributors,product_desc,product_attrs&num_results=25&products_sort_by=Relevance&title=Can%20Rats%20Swim%20from%20Sewers%20into%20Toilets%20And%20Other%20Questions%20About%20Your%20Home&author=Alison%20Behnke 2023-05-03 11:21:48,113 (7f74ec383b38) : DEBUG (networking:143) - Requesting 'https://api.audible.com/1.0/catalog/products?response_groups=contributors,product_desc,product_attrs&num_results=25&products_sort_by=Relevance&title=Can%20Rats%20Swim%20from%20Sewers%20into%20Toilets%20And%20Other%20Questions%20About%20Your%20Home&author=Alison%20Behnke' 2023-05-03 11:21:49,295 (7f74ec383b38) : DEBUG (sandbox:19) - Found 1 result(s) for query "Can Rats Swim from Sewers into Toilets And Other Questions About Your Home" 2023-05-03 11:21:49,295 (7f74ec383b38) : INFO (sandbox:19) - -----------------------------------Search results----------------------------------- 2023-05-03 11:21:49,296 (7f74ec383b38) : DEBUG (sandbox:19) - Score deduction from album: 60 2023-05-03 11:21:49,296 (7f74ec383b38) : DEBUG (sandbox:19) - Score deduction from author: 0 2023-05-03 11:21:49,296 (7f74ec383b38) : INFO (sandbox:19) - Result #1 2023-05-03 11:21:49,296 (7f74ec383b38) : INFO (sandbox:19) - ASIN is B0842ZWX6S_us 2023-05-03 11:21:49,296 (7f74ec383b38) : INFO (sandbox:19) - Author is Alison Behnke 2023-05-03 11:21:49,297 (7f74ec383b38) : INFO (sandbox:19) - Date is 2020-01-22 2023-05-03 11:21:49,297 (7f74ec383b38) : INFO (sandbox:19) - Narrator is Intuitive 2023-05-03 11:21:49,297 (7f74ec383b38) : INFO (sandbox:19) - Region is us 2023-05-03 11:21:49,297 (7f74ec383b38) : INFO (sandbox:19) - Score is 40 2023-05-03 11:21:49,297 (7f74ec383b38) : INFO (sandbox:19) - Title is Can Rats Swim from Sewers into Toilets? 2023-05-03 11:21:49,297 (7f74ec383b38) : INFO (sandbox:19) - # Score is below ignore boundary (45)... Skipping! ```