Posts: 14
Joined: Aug 2010
Reputation:
0
boimel
Junior Member
Posts: 14
Hello XBMC people,
Am using Alaska Revisited skin now I want to change the function of a button. I want to change the "Pictures" button into a button wich opens the YouTube plugin. So I opened the "Includes_HomeDefault.xml" to line 93 and changed the onclick action to ActivateWindow(Plugins,Video,YouTube), I dunno the correct syntax but this defenelty does not work, so whats right?
Thanks.
Posts: 2,901
Joined: Jun 2009
Reputation:
7
Put the Youtube plugin in your favourites then look in your favourites.xml and your find the correct code
Posts: 14
Joined: Aug 2010
Reputation:
0
boimel
Junior Member
Posts: 14
Thanks. How do i put the plugin into my favourites?
Posts: 17,242
Joined: Aug 2007
Reputation:
566
Hitcher
Team-Kodi Member
Posts: 17,242
Bring up the Context menu and select 'Add to favourites'.
Posts: 14
Joined: Aug 2010
Reputation:
0
boimel
Junior Member
Posts: 14
Cool, works now: ActivateWindow(10024,plugin://video/YouTube/)
Thank you
Posts: 14
Joined: Aug 2010
Reputation:
0
boimel
Junior Member
Posts: 14
Whats the right *.xml file to change the name from Pictures into YouTube. Is it just the string.xml in English folder?
Posts: 14
Joined: Aug 2010
Reputation:
0
boimel
Junior Member
Posts: 14
Thanks, but if I change this i don't have the word pictures anymore, right? Anywhere wich stands "Pictures" now will be changed to "YouTube"? I just wanna have this at my Home Screen...
Posts: 17,242
Joined: Aug 2007
Reputation:
566
Hitcher
Team-Kodi Member
Posts: 17,242
Well you just look for that label in the Home.xml or Includes_(homestyle).xml and see which one works.