Parsing title from conflence skin
#1
Question 
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>
Reply
#2
What are the movie titles you've tried?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
It's all the titles that I'm using:

The Shawshank Redemption - Only parses "the"
Pulp Fiction - only parses "pulp"

If I'm running my python script through commandline it works perfectly.
Reply
#4
It might be worth to mention that I had a similar script working on an older version of XBMC (I don't know the version number).

For other reasons I downloaded and installed the current version of XBMC last week, and that's where the problem started? Could there have been any changes in the RunScript function?

(If I uses the $INFO[Listitem.Title] in the label or other places I get the whole title)
Reply

Logout Mark Read Team Forum Stats Members Help
Parsing title from conflence skin0