2011-03-23, 03:49
justermin Wrote:I have the script.... but the script i edited from the addon on sunday is totally different to the script that is now contained in the upgrade version? cant even find the lines to be edited in there now :confused2: i got it on 2 diff machines and both scripts are totally different :confused2: old script works fine but new clean install dont.
I still don't quite understand. What version of XBMC are you using? Confluence has changed in the XBMC's Development(GIT) but not for Dharma(10.0 or 10.1) To add the button for the Addon in Confluence you need to add the following to DialogVideoInfo.xml - Insert After line 1128 and before 1129.
Code:
<control type="button" id="13">
<description>Home Cinema Experience</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>Cinema</label>
<onclick>Dialog.Close(MovieInformation)</onclick>
<onclick>Playlist.Clear</onclick>
<onclick>RunScript(special://home/addons/script.cinema.experience/addon.py)</onclick>
</control>
This adds a button to the Info Window.. One Important note. If the Movie has a Trailer, the button is not Visible, but still accessible. Scroll to the right and it should show up.
As I said before, I haven't made a change to the Addon that affects how it is started. Also it the code above is the same as yours, the button will always be there, whether or not the addon is installed. So I'm not sure what problems you are having..