2016-11-23, 23:14
(2016-11-23, 05:04)wyrm Wrote: Have been busy (as it would seem you are based your the forum traffic) so only just noticed this. My first quick look at the wiki suggested that your getfilename function was what I should use, but I guess that only applies to the built in Kodi file path listitem. So either providing an additional optional parameter for a skin string or property in your getfilename function, or as you suggest providing a splitright flag in the splitstring function.
Really upto you on that mate, whatever is easiest for you to provide would be fine with me.
Can you try this:
RunScript(script.skin.helper.service,action=stripstring,splitchar=-.string=YOURINPUTSTRINGHERE,output=ShortCast,index=-1)
Notice the index= -1 parameter of the splitstring method