Kodi Community Forum
XBMC re-orders scraper results? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60)
+--- Thread: XBMC re-orders scraper results? (/showthread.php?tid=66002)



XBMC re-orders scraper results? - rufus210 - 2010-01-04

I'm writing a movie scraper and I think I've run into an XBMC "feature" that I want to disable. My scraper returns movie names in the proper order, with the first one almost certainly being the one the user wants to select. However XBMC is re-sorting the list resulting in the proper one being last.

The issue appears to be that XBMC is re-ordering the scraper results based on how closely the result name matches the search name. This completely breaks for Asian movies since the search name ("Hero") and the result name ("Ying xiong") have nothing in common.

Is there any way to force XBMC to keep the sorting I give it?


- spiff - 2010-01-04

<results sorted="yes">


- rufus210 - 2010-01-04

Thanks, that did exactly what I wanted. I just added a note about that to the wiki.