Posts: 220
Joined: Jul 2010
Reputation:
0
2010-12-13, 10:31
I use custom shortcut on my main menu to access hulu. Only problem is that accessing hulu changes the default location for the Videos shortcut to Hulu as well. I have to back out of the menu and select my Video source to get to my home movies.
If Hulu one under the Program Add-ons this would not effect me. Is there anyway to change where Hulu executes from. I'm running Live RC2
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
yes, just change the provides tag in addon.xml
Posts: 220
Joined: Jul 2010
Reputation:
0
2010-12-13, 19:25
(This post was last modified: 2010-12-13, 19:36 by Mike8913.)
does this effect the addons ability to update?
Posts: 220
Joined: Jul 2010
Reputation:
0
I changed the provides tag to "executable" but opening Hulu still causes Videos to open in the Hulu main screen.
any suggestions?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
You need to alter the skin by the sounds of things. If you want the "Videos" button to always go to the root of video files view, then make it ActivateWindow(VideoFiles,"",return)
Posts: 220
Joined: Jul 2010
Reputation:
0
would you mind going into more depth on how to do that?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Open up Home.xml
Look for ActivateWindow(Videos).
Change to the above.
Posts: 220
Joined: Jul 2010
Reputation:
0
Mine reads "<onclick>XBMC.ActivateWindow(MyVideoFiles)</onclick>"
Should I change it to "<onclick>XBMC.ActivateWindow(VideoFiles,"/home/Xbmc/Videos",return)</onclick>" ?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Only if that's where you want it to go by default.
Posts: 220
Joined: Jul 2010
Reputation:
0
made the changes, but still no luck. Any other suggestions?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Check a debug log to see that you actually did make the changes you think you did.
Hint: You changed the wrong button - you want the main video button which is linking via ActivateWindow(MyVideos) or something similar.