Menu Bar Selector

I finally figured out how to get the menu bar selector to work correctly!

Download – Menu Bar Selector

Installation Instructions

Location of skin files per OS…
Linux – /home/yourusername/.kodi/addons/skin.aeonmq7
Windows – C:\Users\yourusername\AppData\Roaming\Kodi\addons\skin.aeonmq7
Android – Android/data/org.xbmc.kodi/files/.kodi/addons/skin.aeonmq7

If you would like to install the mod without overwriting your files, I included <!–* MENU BAR SELECTOR *–> markers at the top and bottom of all the code I added/altered.

Note: The files attached in the zip have multiple mods installed (Media Info Mod, Holiday Mod and Star Wars Mod). The Menu Bar Selector will install just fine as a standalone mod, but you will need the menu bar from the Star Wars mod. If you have installed the Star Wars Mod, you will need to alter some of the code in order for this to work properly. I will post those changes below.

For those who have installed the Star Wars Mod, make the following changes…

In Home.xml, find

Code:
<!--*   STAR WARS MOD   *-->
<control type="group">
<visible>Skin.HasSetting(starwars)</visible>
<include>StarWars</include>
</control>
<control type="group">
<visible>Skin.HasSetting(mq7menubar)</visible>
<include>MQ7MenuBar</include>
</control>
<control type="group">
<visible>Skin.HasSetting(starwarsmenubar)</visible>
<include>StarWarsMenuBar</include>
</control>
<!--*   STAR WARS MOD   *-->

and replace with

Code:
<!--*   STAR WARS MOD   *-->
<control type="group">
<visible>Skin.HasSetting(starwars)</visible>
<include>StarWars</include>
</control>
<!--*   STAR WARS MOD   *-->

In includes.xml, find the <!– AEON MQ7 MENU BAR –> marker and remove all the code between that and the <!–* STAR WARS MOD *–> marker at the end of the file.

In SkinSettings.xml, find and remove

Code:
<control type="radiobutton" id="1078">
        <label>32021</label>
        <onclick>Skin.ToggleSetting(mq7menubar)</onclick>
        <selected>Skin.HasSetting(mq7menubar)</selected>
</control>
<control type="radiobutton" id="1079">
        <label>32022</label>
        <onclick>Skin.ToggleSetting(starwarsmenubar)</onclick>
        <selected>Skin.HasSetting(starwarsmenubar)</selected>
</control>

The Star Wars logo that is part of the left menu in Skin Settings is positioned to display correctly if you have the Menu Bar Selector Mod and Holiday Mod both installed. If it does not display correctly for you, look in SkinSettings.xml and find

Code:
<control type="image"><!-- STAR WARS LOGO -->
        <posx>28</posx>
        <posy>850</posy>
        <width>80</width>
        <height>40</height>
        <texture>starwars/starwars.png</texture>
        <aspectratio scalediffuse="false">keep</aspectratio>
        <animation center="auto" reversible="false" condition="true">Conditional</animation>
</control>
<control type="image"><!-- STAR WARS LOGO -->
        <posx>28</posx>
        <posy>850</posy>
        <width>80</width>
        <height>40</height>
        <texture>starwars/starwars_glow.png</texture>
        <aspectratio scalediffuse="false">keep</aspectratio>
        <animation effect="slide" start="0,50" end="0,0" time="600" tween="back" easing="out" condition="true">Visible</animation>
        <animation effect="fade" start="20" end="90" time="700" condition="true" pulse="true">Conditional</animation>
</control>

Change the <posy> value for both images until they are aligned to the left of the word SETTINGS…if it’s off you’ll see which one I’m talking about. A smaller value will move the images up, a higher value moves them down.

I will update the zip file and forum thread for the Star Wars Mod to reflect these changes as well.