Possible to always go to top directory in videos?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
oddity Offline
Junior Member
Posts: 26
Joined: Nov 2008
Reputation: 0
Post: #1
Hi guys,
Is it possible to make it so that whenever i select Videos from the home screen it goes to the top directory, rather than the last location used?

I found away to do this in the aeon skin here:
http://forum.xbmc.org/showthread.php?tid...to=newpost

Can this also be done in mediastream?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #2
Remove the ,return from the ActivateWindow call in Home.xml

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
oddity Offline
Junior Member
Posts: 26
Joined: Nov 2008
Reputation: 0
Post: #3
hey jmarshall,

Thanks for the suggestion but I cant see ",return" anywhere that looks like it might affect videos.
This is what is in my home.xml
Am I looking in the right place?

<item id="1">
<description>My Videos Button</description>
<label> $LOCALIZE[31001] </label>
<label2> $LOCALIZE[31011] </label2>
<visible>!Skin.HasSetting(HideVideos)</visible>
<onclick>XBMC.ActivateWindow(24)</onclick>
</item>
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #4
Change it to ActivateWindow(24,$ROOT)

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote