problem with <episodeguide>
#1
I call a URL FUNCTION named "GetEps" from GetEpisodeList to get "<episode>...</episode> <episode>...</episode><episode>...</episode>"
I wrapped the function call with <episodeguide><url function="geteps">http://www.sratim.co.il.../.../</url><episodeguide> (with html encoding of course)

I see in xbmc.log that I get output:
<episode>
....
</episode>

but without the <episodeguide>...</episodeguide> around it.

Do I have to put <episodeguide> inside the function output?
Reply
#2
Short answer: It needs to be in both places.

Slightly longer answer: The output of the custom function isn't inserted in situ, but rather added on afterwards. So GetEpisodeList needs to return an <episodeguide>...</episodeguide> block, and if it calls any functions, they too need to return an <episodeguide>...</episodeguide> block (and so on and so forth). All the individual <episodes>s in each block will then be joined together in the order that the functions were processed.

It's the same deal with GetDetails and <details>...</details>, or GetSearchResults and <results>...</results>.
Reply
#3
Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
problem with <episodeguide>0