2015-02-18, 14:12
When GetSearchResults returns a list of >1 entities, how does Kodi select the entity to import data for?
And how is that behaviour controlled?
The returned list of my scraper looks OK if the scraper is run in ScraperEdit, giving good matches for the filename in the first items. But in Kodi the data of some irrelevant entity from the bottom of the list get imported, ie, giving the wrong movie data even if the top 1 or 2 entities would be the correct movie. Both in Gotham and Helix.
It would be fine for almost all cases if just the first returned entity (assuming it is indeed the top one in ScraperEdit returns) were imported.
Puzzling... Thanks for help!
y
And how is that behaviour controlled?
The returned list of my scraper looks OK if the scraper is run in ScraperEdit, giving good matches for the filename in the first items. But in Kodi the data of some irrelevant entity from the bottom of the list get imported, ie, giving the wrong movie data even if the top 1 or 2 entities would be the correct movie. Both in Gotham and Helix.
It would be fine for almost all cases if just the first returned entity (assuming it is indeed the top one in ScraperEdit returns) were imported.
Puzzling... Thanks for help!
y