2020-07-19, 19:52
I'm passing Container.ShowName into a custom script to fill the content of a list like so:-
However it fails if any of the Show Titles contain an & symbol, which is to be expected, & symbols separate the parameters.
So looking at the wiki I see there is an $ESCINFO version of $INFO, but changing my code to:-
Still does not work, the & symbols aren't being escaped Any ideas on how to deal with this? Thanks
Edit:- So again it's just easier to do this in python using
Still doesn't explain why $ESCINFO fails to escape the string properly.
xml:<content type="video">plugin://script.seasonjump/?action=getSeasons&showName=$INFO[Container.ShowTitle]</content>
However it fails if any of the Show Titles contain an & symbol, which is to be expected, & symbols separate the parameters.
So looking at the wiki I see there is an $ESCINFO version of $INFO, but changing my code to:-
xml:<content type="video">plugin://script.seasonjump/?action=getSeasons&showName=$ESCINFO[Container.ShowTitle]</content>
Still does not work, the & symbols aren't being escaped Any ideas on how to deal with this? Thanks
Edit:- So again it's just easier to do this in python using
python:showTitle = xbmc.getInfoLabel('Container.ShowTitle')
Still doesn't explain why $ESCINFO fails to escape the string properly.