2009-12-02, 18:15
mccorkled Wrote:thank you for the fast reply!Hmmm - I'm not sure about where the script installs depending on how you're running XBMC. I entered the new control right after the control for "Play Trailer" in DialogVideoInfo.xml as shown below...
Im using mediastream and I edited the file. I hope there was so specific place to paste in the text you provided. I saved the file but I cant seem to find where it added that button. Even in the context menu I dont see a "theater" button.
also.... When I download the plugin, It installs it to my local folder rather then the xbmc folder under program files.
it puts it in C:\users\HTPC\AppData\Roaming\XBMC
(windoze 7)
Code:
<control type="button" id="11">
<description>Play Trailer</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>20410</label>
<visible>!IsEmpty(ListItem.Trailer)</visible>
</control>
[b] <control type="button" id="13">
<description>Home Theater Experience</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>Theater</label>
<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>
</control>[/b]
</control>
</control>
</control>
<control type="image">
<posx>26r</posx>
<posy>0</posy>
<width>846</width>
<height>720</height>
<texture flipx="true">HomeBlade.png</texture>
</control>
<include>Clock</include>
</controls>
</window>
Are you sure you're looking at the video info screen (by pressing "i" over a movie)? The button won't appear in the context menu.
xm41907 Wrote:I love this plugin. I got it working exactly how I want it to, except for one thing. I set it to pull trailers based on the MPAA rating and genre, but it doesn't do it. I am using this mostly for my kids so I would like it to only show kid friendly trailers but it doesn't seem to be doing this. Saw VI is definitely not a kids movie! lol. Does anyone else have the same issue or know a tweak to get it working correctly?
I noticed this as well, could it be that the script considers the rating of the trailer itself, and not the movie being previewed? I ended up just downloading a dozen or so family / kid appropriate trailers and pointed the script to the local copies, since I was also seeing loading / buffering screens with the online trailers.