Default startup item
#1
First of all, great skin! Love it!

I find it kind annoying that when I start XBMC with the skin it selects by default the 'Pictures' item. I use XMBC mainly for watching movies so I would find it more usefull if the 'Movies' item would be selected by default.

I tried messing arround with the home.xml and was quite successfull with selecting the 'Movies' item by default at startup, except when I selected it I got to the Pictures window Sad Same with all the other items I changed places, they all had different actions instead of the one that was selected.

Any hints on how to default select the 'Movies' item? Thanks for your help!
Reply
#2
I looked at this for a couple minutes last night while changing programs to games for my xbox installs and I couldn't figure out how to do it easily?

Anyone have any advice?
Reply
#3
Look at the wraplist in Home.xml, the focused item is always the 2nd one in the static list. So rearrange the items and make the one you like to be focused as the 2nd one. Do not change the id's though because other controls reference them.
Reply
#4
Wow, that was a lot easier than I expected.
Reply
#5
I am sorry but rearranging the items doesn't do anything for me Sad

I did a search for "wraplist" and got the following line: <control type="wraplist" id="850">
Under this item there is a "focusedlayout" element, which contains the menuitems.
If I rearrange the items by moving the "control" elements it doesn't do anything. I am new at this and probably doing something wrong but I can't figure out what. I can get it to work if I change the "<visible>Container(850).HasFocus(5)</visible>" from the Movies item to 2. At least the image focused is the 'Movie' image but when I click this item I go to the 'Pictures' dialog.

It is not that easy as I expected...
Reply
#6
You need to rearrange by just copying the node and without changing the contents from the node:

<control type="group" id="510"> => <control type="wraplist" id="850"> => <content>. I hope this points you to the right direction. Its under the <focussedlayout>

And you probably have to redo it everytime you update the skin...

Goodluck
Reply
#7
remco9999 Wrote:You need to rearrange by just copying the node and without changing the contents from the node:

<control type="group" id="510"> => <control type="wraplist" id="850"> => <content>. I hope this points you to the right direction. Its under the <focussedlayout>

And you probably have to redo it everytime you update the skin...

Goodluck

That was indeed easy :-) Work great now, thanks!!!
I was rearranging the wrong nodes...

Thanks remco9999
Reply
#8
I basaically Cut the pictures section/videos sections out, moved Movies section up to be second, and pasted pictures/videos underneath movies. So my list reads Programs, Movies, Pictures, Programs; however when i load XBMC it still starts on pictures even though its third in my static list.
Reply
#9
mcgehee44 Wrote:I basaically Cut the pictures section/videos sections out, moved Movies section up to be second, and pasted pictures/videos underneath movies. So my list reads Programs, Movies, Pictures, Programs; however when i load XBMC it still starts on pictures even though its third in my static list.

No need to cut them out completely they can be hidden in skin settings.

These are what need to be moved (don't change the id numbers):

PHP Code:
                    <item id="1">
                        <
description>Programs Category</description>
                        <
icon>programs-text-blurred.png</icon>
                        <
thumb>$INFO[Skin.String(ProgramsCustomBG)]</thumb>
                        <
onclick>ActivateWindow(Programs)</onclick>    
                        <
visible>!Skin.HasSetting(HideProgramsCategory)</visible>
                    </
item>
                    <
item id="2">
                        <
description>Pictures Category</description>
                        <
icon>pictures-text-blurred.png</icon>
                        <
thumb>$INFO[Skin.String(PicturesCustomBG)]</thumb>
                        <
onclick>ActivateWindow(Pictures)</onclick>
                        <
visible>!Skin.HasSetting(HidePicturesCategory)</visible>
                    </
item>
                    <
item id="3">
                        <
description>Music Category</description>
                        <
icon>music-text-blurred.png</icon>
                        <
thumb>$INFO[Skin.String(MusicCustomBG)]</thumb>
                        <
onclick>ActivateWindow(Music)</onclick>
                        <
visible>!Skin.HasSetting(HideMusicCategory)</visible>
                    </
item>
                    <
item id="4">
                        <
description>Videos Category</description>
                        <
icon>videos-text-blurred.png</icon>
                        <
thumb>$INFO[Skin.String(VideosCustomBG)]</thumb>
                        <
onclick>ActivateWindow(VideoFiles)</onclick>    
                        <
visible>!Skin.HasSetting(HideVideosCategory)</visible>
                    </
item>
                    <
item id="5">
                        <
description>Movies Category</description>
                        <
icon>movies-text-blurred.png</icon>
                        <
thumb>$INFO[Skin.String(MoviesCustomBG)]</thumb>
                        <
onclick>ActivateWindow(VideoLibrary,MovieTitles,Return)</onclick>  
                        <
visible>!Skin.HasSetting(HideMoviesCategory) + Library.HasContent(Movies)</visible>
                    </
item>
                    <
item id="6">
                        <
description>TV Shows Category</description>
                        <
icon>tvshows-text-blurred.png</icon>
                        <
thumb>$INFO[Skin.String(TVShowsCustomBG)]</thumb>
                        <
onclick>ActivateWindow(VideoLibrary,TVShowTitles,Return)</onclick>
                        <
visible>!Skin.HasSetting(HideTVShowsCategory) + Library.HasContent(TVShows)</visible>
                    </
item>    
                    <
item id="7">
                        <
description>General Category</description>
                        <
icon>general-text-blurred.png</icon>
                        <
thumb>$INFO[Skin.String(GeneralCustomBG)]</thumb>
                        <
onclick>ActivateWindow(3006)</onclick>        
                        <
visible>!Skin.HasSetting(HideGeneralCategory)</visible>
                    </
item>    
                    <
item id="8">
                        <
description>System Category</description>
                        <
icon>system-text-blurred.png</icon>
                        <
thumb>$INFO[Skin.String(SystemCustomBG)]</thumb>
                        <
onclick>ActivateWindow(3007)</onclick>                     
                    </
item
Reply
#10
That worked... moved the wrong nodes around xD

Thanks!
Reply
#11
For Rapier v.3, to rearrange home items order, you're gonna have to edit includes_Home.xml now.
Reply

Logout Mark Read Team Forum Stats Members Help
Default startup item0