Kodi Community Forum

Full Version: Would like to add a blu Ray menu on the home page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to do this?

Not the main menu but the sub menu of Movies

Thanks
and what exactly would it point too ? the bluray drive ? the one on the lower left should do that
Sorry my blu ray source on my server
Jezz_X Wrote:look here http://forum.xbmc.org/showthread.php?tid=65964
Jezz_X; thanks for the reference

Mrkennedy, you mention having a separate bluRay source
just in case any1 else is looking and has done it the same way as me
( where HD and SD stuff is all mixed together in 1 source )
just create a smart-playlist with type = movie & resolution > 480
then you can make a button for it using the other post

voala
Image
Thats what i'm looking for. Excellent (thanks Jezz for the link)

Now whats a smart-playlist?
Mrkennedy Wrote:Now whats a smart-playlist?

it will display anything that matches some condition(s)
... hence why its smart

go to the playlist area and select 'create smart playlist'
... there you'll see how it works & what can be done

there's also a fairly good write up in the wiki
http://wiki.xbmc.org/index.php?title=Pla..._Playlists
Thanks zosky,

Where do you add the code? I've found the grouplist

Code:
<control type="grouplist" id="9010">
                    <posx>10</posx>
                    <posy>0</posy>
                    <width>240</width>
                    <height>240</height>
                    <align>center</align>
                    <onleft>9000</onleft>
                    <onright>Control.SetFocus(8000,0)</onright>
                    <onup>9010</onup>
                    <ondown>9010</ondown>
                    <itemgap>0</itemgap>
                    <visible>Container(9000).HasFocus(2)</visible>
                    <control type="button" id="90101">
                                               <include>ButtonHomeSubCommonValues</include>
                        <label>342</label>
                        <onclick>ActivateWindow(VideoLibrary,MovieTitles,return)</onclick>
                        <visible>Library.HasContent(Movies)</visible>
                    </control>
                    <control type="button" id="90102">
                        <include>ButtonHomeSubCommonValues</include>
                        <label>20343</label>
                        <onclick>ActivateWindow(VideoLibrary,TvShowTitles,return)</onclick>
                        <visible>Library.HasContent(TVShows)</visible>
                    </control>
                    <control type="button" id="90103">
                        <include>ButtonHomeSubCommonValues</include>
                        <label>20389</label>
                        <onclick>ActivateWindow(VideoLibrary,MusicVideoTitles,return)</onclick>
                        <visible>Library.HasContent(MusicVideos)</visible>
                    </control>
                    <control type="button" id="90104">
                        <include>ButtonHomeSubCommonValues</include>
                        <label>744</label>
                        <onclick>ActivateWindow(VideoFiles)</onclick>
                    </control>
                    <control type="button" id="90105">
                        <include>ButtonHomeSubCommonValues</include>
                        <label>14022</label>
                        <onclick>ActivateWindow(VideoLibrary)</onclick>
                        <visible>Library.HasContent(Videos)</visible>
                    </control>
                    <control type="button" id="90106">
                        <include>ButtonHomeSubCommonValues</include>
                        <label>31007</label>
                        <onclick>ActivateWindow(VideoLibrary,Plugins)</onclick>
                        <visible>Library.HasContent(Video)</visible>
                    </control>
                    <control type="button" id="90107">
                        <include>ButtonHomeSubCommonValues</include>
                        <label>31007</label>
                        <onclick>ActivateWindow(VideoFiles,$LOCALIZE[1037])</onclick>
                        <visible>!Library.HasContent(Video)</visible>
                    </control>
                </control>

But don't fully understand where do i add a sub menu on movies, sorry if being dull this is the first time i'm using code and trying to get my head around it all.

Thanks
you're on the right path grass-hopper Laugh
you can't break it ... well you can,
but thats why you made a back-up right

you're looking at the video's sub-menu
... you may want to add it here Huh
i dont use 'videos' (i prefer tv & movies)

hack, slash, save, reload, play
wash, rinse, repeat

hang in there and you'll get it just right
~z

PS. one of the most helpfull tips is to map a key to XBMC.ReloadSkin ( i read that somewhere on here a while back)

~/.xbmc/userdata/keymaps/refresh.xml
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<keymap>
  <global>
    <keyboard>
      <F5>XBMC.ReloadSkin()</F5>
    </keyboard>
  </global>
</keymap>