Kodi Community Forum

Full Version: Confluence add menu item
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
With XBMC v12 it was possible to add to the "Home.xml" file an entry to add my playlist to the home menu

Code:
                <!--  This section creates a new Menu called "myPlaylists" -->
                <control type="grouplist" id="myPlaylists">
                    <include>HomeSubMenuCommonValues</include>
                    <onleft>myPlaylists</onleft>
                    <onright>myPlaylists</onright>
                    <visible>Container(9000).HasFocus(buttPlaylists)</visible>
                    <include>HomeSubMenuPlaylists</include> <!-- Buttons for the grouplist -->
                </control>

                    <!--  This section creates the custom dropdown sub-menu. -->
                    <!-- Use the name included in the GroupList above. -->
                    <item id="buttPlaylists">  <!-- This is the actual category button -->
                        <label>myPlaylists</label>
                        <!-- <onclick>ActivateWindow(Videos,special://profile/playlists/video oder special://videoplaylists oder Videos,Playlists,return)</onclick> -->
                        <onclick>ActivateWindow(Videos,Playlists,return)</onclick>
                        <icon>-</icon>
                        <thumb>-</thumb>
                        <visible>!Skin.HasSetting(HomeMenuNoWeatherButton)</visible>
                    </item>

then I had to modify the "IncludesHomeMenuItems.xml" file as well

Code:
    <!-- Untermenüs für den Playlist Button -->
    <include name="HomeSubMenuPlaylists">
        <control type="image" id="sbmPlaylistsLeft">
            <width>35</width>
            <height>35</height>
            <texture border="0,0,0,3" flipx="true">HomeSubEnd.png</texture>
        </control>
        <control type="button" id="sbmPlaylists1">
            <include>ButtonHomeSubCommonValues</include>
            <label>PC-Videos</label>
            <onclick>ActivateWindow(Videos,special://profile/playlists/video/PC_Win8_Video.xsp,return)</onclick>
            <visible>True</visible>
        </control>
        <control type="button" id="sbmPlaylists2">
            <include>ButtonHomeSubCommonValues</include>
            <label>1TB - Animation</label>
            <onclick>ActivateWindow(Videos,special://profile/playlists/video/Extern_1TB.xsp,return)</onclick>
            <visible>True</visible>
        </control>
        <control type="button" id="sbmPlaylists3">
            <include>ButtonHomeSubCommonValues</include>
            <label>2TB - MKVs</label>
            <onclick>ActivateWindow(Videos,special://profile/playlists/video/Extern_2TB.xsp,return)</onclick>
            <visible>True</visible>
        </control>        
        <control type="button" id="sbmLectFiles">
            <include>ButtonHomeSubCommonValues</include>
            <label>744</label>
            <onclick>ActivateWindow(Videos,Files,return)</onclick>
        </control>
        <control type="image" id="sbmPlaylistsRight">
            <width>35</width>
            <height>35</height>
            <texture border="0,0,0,3">HomeSubEnd.png</texture>
        </control>
    </include>

With v13 of XBMC it seams completly different Sad

I miss so much my playlist as menuitem Nod

So I hope you can guide me to do this with v13 too.

thX Erich
I managed it.

The files are located unter "Program Files (x86)" and not like supposed in "AppData\Roaming\XBMC".

So can be closed.

GreeT`s Erich