Scraper GetSearchResults results sorting changed?
#1
Recently I registered some weird results of my anime library (AniDB.net scraper) updates. Some of new shows was scraped completely wrong even they have exact same name like on site. I did some testing with manual scraping on show named 'Air' where I expected to get exact match as top choice but it wasn't. Of course automatic scraping then select completely wrong series. Was there any changes to this sorting recently? Month ago (approx) it was working fine.


EDIT: I did bit more investigation and looks like this problem happen only with directories named like 'Air [720p-BR]', when it's named only 'Air' everything works fine. Of course '[720p-BR]' is removed by clearstrings so to scraper search goes only 'Air' as expected. Unortunatelly I found in sources that for sorting whole directotory name, not cleared one, is used. Is it really intended? Doesn't sound right to me Sad
Reply
#2
I checked pre-scraper abstraction code and there was used cleared string for matching, so I consider this as bug in refactored code.

Made ticket #11714.
Reply
#3
Thanks - it would be good if you indicated in the trac report where in the code it was dropped to save some time Smile
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
vdrfan was faster, already fixed and closed Smile
Reply
#5
Jep, this one was pretty obvious Wink Especially because I've touched the code right before the scraper abstraction merge went in.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply



Logout Mark Read Team Forum Stats Members Help
Scraper GetSearchResults results sorting changed?0
This forum uses Lukasz Tkacz MyBB addons.