2019-07-25, 23:00
Submitted the most recent version to Kodi today. So every new and changed features should be available in the official Kodi repo soon.
xml:RunScript(script.embuary.helper,action=calc,do='"(10 + 5) / 2"',prop=MyResult)
xml:RunScript(script.embuary.helper,action=calc,do='"Container(50).Position + 2"',prop=MyResult)
(2019-07-31, 06:18)sualfred Wrote: Why not use the builtin Action(action[,window]) function?
https://kodi.wiki/view/Action_IDs
xml:<content>plugin://script.embuary.helper/?info=getbyargs&filter_args='"{"field": "year", "operator": "is", "value": $INFO[Container(595).ListItem.Year}"'&sort_args='"{"order": "ascending", "method": "title"}"'&type=movie</content>
plugin://script.embuary.helper/?info=getbyargs&filter_args='"{"field": "year", "operator": "is", "value": "$INFO[Container(595).ListItem.Year]"}"'&sort_args='"{"order": "ascending", "method": "title"}"'&type=movie
xml:plugin://script.embuary.helper/?info=getbyargs&filter_args='"{"field": "year", "operator": "is", "value": "$INFO[Container(595).ListItem.Year]" & "field": "title", "operator": "isnot", "value": "$INFO[Container(595).ListItem.Title]"}"'&sort_args='"{"order": "ascending", "method": "title"}"'&type=movie
plugin://script.embuary.helper/?info=getbyargs&filter_args='"{"and": [{"field": "year", "operator": "is", "value": "$INFO[Container(595).ListItem.Year]"}, {"field": "title", "operator": "isnot", "value": "$INFO[Container(595).ListItem.Title]"}]}"'&sort_args='"{"order": "ascending", "method": "title"}"'&type=movie
{"and": [{},{}]}
{"and": [{"or": [{"operator": "is", "field": "year", "value": "2018"}, {"operator": "is", "field": "year", "value": "2019"}]}, {"operator": "isnot", "field": "title", "value": "Alita"}]}
if os.path.isfile(xbmc_cache_file):
elif os.path.isfile(xbmc_vid_cache_file):
if os.path.isfile(xbmc.translatePath(xbmc_cache_file)):
if xbmcvfs.exists(xbmc_cache_file):