2011-03-23, 18:28
giftie Wrote: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....
Ah Ha there lies the problem for me.... when i installed the addon to my own machine on Saturday that section of code was already in the script when i looked.. i just needed to edit it as it still had reference to "home.theatre" not "cinema"...so all i had to do was change the path etc..... but the install i did on my fathers on Monday did not have that section of code present when i looked...... i didnt realise it had to be added not just edited..... not sure how it got into my install as i installed in exact same manner just on different days.
Thanks anyway for the help this should solve the issue... going to my dads now to fix for him... he'll be a happy man.