2009-09-06, 18:53
OK, I update my XBMC built, used REPO Installer and got the latest version of the script. Then got Transparency! 2.0 skin. This is supposed to support this plugin, but only got a dimmed "Play Trailer" button in info screen of the Video Library.
I got it to work as follows:
Edit DialogVideoInfo.xml (found under ..Application Data\XBMC skin\Transparency!\720p\ folder). I found two sections that to the best of my understanding, were meant to be mutually exclusive:
So which of the 2 button 11 is displayed is decided from the "Skin.HasSetting(hometheater)" value. I figured "!" means no, so I just swapped the "!" (meaning deleted it from upper part and added to the lower part. Now I have a "Theater" button active that launches the script just fine.
My questions are:
1. Why is not Skin.HasSetting(hometheater) true? (So that I wouldn't have to mess with the xml)
2. What if I want only a couple of trivia slides? 15 minutes is a very long time to watch slides before your movie. How can I change the minimum value to 40 secs e.g.?
3. Post #1 mentions about a "slides.xml" file to define the q&a files. Where is it? Couldn't find it anywhere.
4. My Apple Movie Trailers does not work. Not just with this plugin, but in general. Am I the only one or is there something wrong with Apple?
Thnx for the great work!
I got it to work as follows:
Edit DialogVideoInfo.xml (found under ..Application Data\XBMC skin\Transparency!\720p\ folder). I found two sections that to the best of my understanding, were meant to be mutually exclusive:
PHP Code:
<control type="button" id="11">
<description>Play Trailer</description>
<posx>0</posx>
<posy>165</posy>
<include>ButtonInfoDialogsCommonValues</include>
<label>20410</label>
<onleft>61</onleft>
<onright>49</onright>
<onup>10</onup>
<ondown>5</ondown>
<enable>!IsEmpty(ListItem.Trailer)</enable>
<visible>!Skin.HasSetting(hometheater)</visible>
</control>
<control type="button" id="11">
<description>Home Theater Experience</description>
<posx>0</posx>
<posy>165</posy>
<include>ButtonInfoDialogsCommonValues</include>
<label>31019</label>
<onleft>61</onleft>
<onright>49</onright>
<onup>10</onup>
<ondown>5</ondown>
<onclick>Dialog.Close(MovieInformation)</onclick>
<onclick>Playlist.Clear</onclick>
<onclick>Action(Queue,25)</onclick>
<onclick>RunScript(special://home/scripts/Home Theater Experience/default.py)</onclick>
<visible>Skin.HasSetting(hometheater)</visible>
</control>
So which of the 2 button 11 is displayed is decided from the "Skin.HasSetting(hometheater)" value. I figured "!" means no, so I just swapped the "!" (meaning deleted it from upper part and added to the lower part. Now I have a "Theater" button active that launches the script just fine.
My questions are:
1. Why is not Skin.HasSetting(hometheater) true? (So that I wouldn't have to mess with the xml)
2. What if I want only a couple of trivia slides? 15 minutes is a very long time to watch slides before your movie. How can I change the minimum value to 40 secs e.g.?
3. Post #1 mentions about a "slides.xml" file to define the q&a files. Where is it? Couldn't find it anywhere.
4. My Apple Movie Trailers does not work. Not just with this plugin, but in general. Am I the only one or is there something wrong with Apple?
Thnx for the great work!