How to change what a Home menu item does.

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dwjp90 Offline
Junior Member
Posts: 26
Joined: Aug 2011
Reputation: 1
Post: #1
I'm trying to make it so that the home menu item "TV Shows" points to a favorite/Smart playlist.

The reason I want to do it this way is so that it retains its submenu and other special skin effects.

I attempted to follow the wiki, but the section it tells me to edit has 0 effect on anything.

The section that i understand im supposed to edit is this in Home.xml

Edit: soulution was to edit Includes_Home_Horizontal.xml instead (because I use the horizontal view)

Code:
                <item id="5">
                    <description>TV shows</description>
                    <label>$LOCALIZE[31004]</label> <1-- orig $LOCALIZE[31004]-->
                    <icon>special://skin/backgrounds/tvshows.jpg</icon>
                    <thumb>$INFO[Skin.String(CustomTVShowsFolder)]</thumb>            
                    <onclick>XBMC.ActivateWindow(MyVideoLibrary,tvshowtitles,return)</onclick> <!-- attm change XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom6_Path)],return) -->
                    <visible>!Skin.HasSetting(HomeMenuNoTVShowsButton) + Library.HasContent(TVShows)</visible>
                </item>

[Image: watched-fanart.jpg]
TheTVDB.com moderator
(This post was last modified: 2011-12-16 11:04 by dwjp90.)
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 52
Location: Germany
Post: #2
You have to change the <onclick> and point to your xsp-file

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
dwjp90 Offline
Junior Member
Posts: 26
Joined: Aug 2011
Reputation: 1
Post: #3
Sorry i posted the Original version.

It doesn't matter what i change that line too, it has 0 effect. If i make it blank, it still launches the tvshows library.

If i change it to this

Code:
ActivateWindow(10025,"special://profile/playlists/video/Tv Shows.xsp"

It still launches the TV Shows library instead of the playlist.

Is there something else I need to modify?

[Image: watched-fanart.jpg]
TheTVDB.com moderator
find quote
Jeroen Offline
Skilled Skinner
Posts: 1,882
Joined: Feb 2008
Reputation: 4
Location: The Netherlands
Post: #4
Lose the "" and close with )
Code:
<onclick>ActivateWindow(videolibrary,special://profile/playlists/video/TV Shows.xsp)</onclick>
find quote
dwjp90 Offline
Junior Member
Posts: 26
Joined: Aug 2011
Reputation: 1
Post: #5
Still has no effect.

Here's the current code from 720p/home.xml

Code:
                <item id="5">
                    <description>TV shows</description>
                    <label>TV Showz</label> <!-- orig $LOCALIZE[31004]-->
                    <icon>special://skin/backgrounds/tvshows.jpg</icon>
                    <thumb>$INFO[Skin.String(CustomTVShowsFolder)]</thumb>            
                    <onclick>ActivateWindow(10025,special://profile/playlists/video/Tv Shows.xsp)</onclick> <!-- orig XBMC.ActivateWindow(MyVideoLibrary,tvshowtitles,return) -->
                    <visible>!Skin.HasSetting(HomeMenuNoTVShowsButton) + Library.HasContent(TVShows)</visible>
                </item>

[Image: watched-fanart.jpg]
TheTVDB.com moderator
find quote
dwjp90 Offline
Junior Member
Posts: 26
Joined: Aug 2011
Reputation: 1
Post: #6
Thanks for the help, Sorry I had to edit Includes_Home_Horizontal.xml instead of home.xml

[Image: watched-fanart.jpg]
TheTVDB.com moderator
find quote