2011-02-24, 21:56
Hi
I'm pretty new at developing for XBMC, so this might be verys simple. I'm trying to launch an external script with the movie title as agument from the confluence skin in dialogvideoInfo.xml.
The idea works great, but I only get the first word in the title transfered. I Have tried putting some quotes around the title as shown below, but with no luck. Do you have any ideas?
<control type="button" id="13">
<description>Youtube Trailer </description>
<include>ButtonInfoDialogsCommonValues</include>
<label>Youtube trailer</label>
<onclick>PreviousMenu</onclick>
<onclick>RunScript(C:\test\launch.py, "$INFO[Listitem.Title]")</onclick>
</control>
I'm pretty new at developing for XBMC, so this might be verys simple. I'm trying to launch an external script with the movie title as agument from the confluence skin in dialogvideoInfo.xml.
The idea works great, but I only get the first word in the title transfered. I Have tried putting some quotes around the title as shown below, but with no luck. Do you have any ideas?
<control type="button" id="13">
<description>Youtube Trailer </description>
<include>ButtonInfoDialogsCommonValues</include>
<label>Youtube trailer</label>
<onclick>PreviousMenu</onclick>
<onclick>RunScript(C:\test\launch.py, "$INFO[Listitem.Title]")</onclick>
</control>