2015-12-19, 03:51
My last question was worded very badly. Let me try this.
Upon entering GetDetails I want to parse the selected <entity>(url) chosen from the list returned by GetSearchResults. Using ScraperEdit I see the selected <entity>(url) is in $$2.
Using ScraperEdit all works well. $$2 is the input, run the regex on it, and it moves what I need to the buffer I designated.
Using Kodi not so well. $$2 as the input, use (.+) as regex, returns the full list of all <entity> found in GetSearchResults function. I used (.+) as a test so I could see what was actually being input/parsed from $$2 in the Kodi debug log.
It does not appear that Kodi puts the selected <entity> in $$2.
Is there a way to get the selected <entity> and parse it?
I have tried many things and can't get it to work. I test with only one regex in GetDetails that would attempt to make this parse.
The reason I need this is so GetDetails runs it function based on the selected <entity>. The url in the selected <entity> contains the ID I need to parse/use in following CustomFunctions.
I've read thru the forum and can't find what I am asking.
Thanks!
Upon entering GetDetails I want to parse the selected <entity>(url) chosen from the list returned by GetSearchResults. Using ScraperEdit I see the selected <entity>(url) is in $$2.
Using ScraperEdit all works well. $$2 is the input, run the regex on it, and it moves what I need to the buffer I designated.
Using Kodi not so well. $$2 as the input, use (.+) as regex, returns the full list of all <entity> found in GetSearchResults function. I used (.+) as a test so I could see what was actually being input/parsed from $$2 in the Kodi debug log.
It does not appear that Kodi puts the selected <entity> in $$2.
Is there a way to get the selected <entity> and parse it?
I have tried many things and can't get it to work. I test with only one regex in GetDetails that would attempt to make this parse.
The reason I need this is so GetDetails runs it function based on the selected <entity>. The url in the selected <entity> contains the ID I need to parse/use in following CustomFunctions.
I've read thru the forum and can't find what I am asking.
Thanks!