Solved Adding TV Guide button to the Home Screen
#1
Question 
Hi,
I'm trying to add a button that will lunch TV Guide directly from the Home Screen and I'm failing. I'm using stock Confulence on XBMC 11.
I added the following to the Home.xml

Code:
<item id="99">
   <label>TV Guide</label>
   <icon>special://skin/backgrounds/videos.jpg</icon>
   <onclick>ActivateWindow(Programs,Addons,TV Guide)</onclick>
   <icon>-</icon>
   <thumb>-</thumb>
</item>

It will take me to the PROGRAMS but I still need to click on TV Guide. I also tried this:

Code:
<onclick>XBMC.RunScript(/home/nozyczek/.xbmc/addons/script.tvguide/service.py)</onclick>
but no go.
I would really appreciate if you could help me out.
Thank you
Reply
#2
Welcome to the XBMC forums.

Try the following:
  1. Select PROGRAMS on the homepage
  2. Highlight the TV Guide add-on, open its context menu (keyboard "c" or right mouse click) and select "Add to favourites"
  3. Locate and open your favourites.xml (wiki) file in your userdata (wiki) directory using a text editor
  4. The last statement in the file should be the one for the favourite you just added for the TV Guide add-on. Copy the text that is in between the <favourite name=...> and </favourite> tags on that statement and paste it in between the <onclick> and </onclick> tags of your Home.xml file.
Reply
#3
Brilliant !

Code:
<item id="99">
   <label>TV Guide</label>
   <icon>special://skin/backgrounds/videos.jpg</icon>
   <onclick>RunScript(script.tvguide)</onclick>
   <icon>-</icon>
   <thumb>-</thumb>
</item>

Thank You !
Reply

Logout Mark Read Team Forum Stats Members Help
Adding TV Guide button to the Home Screen0