Scraper GetSearchResults results sorting changed?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bambi73 Offline
Senior Member
Posts: 165
Joined: Jan 2010
Reputation: 0
Location: Czech Republic
Post: #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
(This post was last modified: 2011-07-06 23:38 by bambi73.)
find quote
bambi73 Offline
Senior Member
Posts: 165
Joined: Jan 2010
Reputation: 0
Location: Czech Republic
Post: #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.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #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: badge.gif]
find quote
bambi73 Offline
Senior Member
Posts: 165
Joined: Jan 2010
Reputation: 0
Location: Czech Republic
Post: #4
vdrfan was faster, already fixed and closed Smile
find quote
vdrfan Offline
Team-XBMC Developer
Posts: 2,787
Joined: Jan 2008
Reputation: 7
Location: Germany
Post: #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 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.
find quote