Mod Menu bar mod for Madnox Krypton
#1
I like to introduce my menu bar mod for Aeon Madnox Krypton. Maybe it works with Jarvis too.

You can customize the complete menu bar including colors, transparency and font. As i'm not good in graphics maybe someone with skills can make us some crazy bars. You have more space than the small bar in standard.
Smitchel and ShadowTek helped me with some example bars. But this is only the beginning. I hope in near future we can provide some crazy bars.
At this point thx to both of you.

In this description and example screen shots i use some heavy colors :-) but to show you what's possible only. So maybe you provide us with some screen shots of your color decisions. I'm anxious to see.


Just download the zip file https://drive.google.com/open?id=0B0jBz9...EIzakpJbFk and overwrite the files in the Aeon Madnox folder.
If Aeon Madnox Krypton is updated i will provide new files if necessary.

Install and usage:

1) Copy and overwrite the files from the skin.aeon.madnox from the zip file into your Kodi add-on folder.
2) Copy script.Fonts to the add-on directory of your Kodi installation.
3) For testing purpose copy the menubar1 to a location where Kodi can access or use the filemanager and 'add source' to make a new file source.
4) Start Kodi and enable the script.Fonts in the add-on manager.

What can you do with this mod?

Go to skin settings / customizers / customize home window furniture.
Highlight the main menu bar and enter.
Now you can enable 'customize menu bar' and hit customize again.

a) If you disable 'customize menu bar' you have the standard aeon madnox menu bar behavior.
b) If you enable you can customize all colors of text and/or the colors of the menu bar and/or the complete look of the bar.

Use standard menu bar but colorize text only
--------------------------------------------
1) enable 'customize menu bar' and disable 'Color menu bar', 'Use font from folder' , 'menu bar from folder'
2) Use Stats bar text highlight color,Timebar Text Highlight Color,Submenu text Highlihgt color and submenu text color to customize the text colors

Image Image

Colorize the menu bar and the text
----------------------------------
1) enable 'customize menu bar' and enable 'Color menu bar' but disable 'Use font from folder' , 'menu bar from folder'
2) Use Stats bar text highlight color,Timebar Text Highlight Color,Submenu text Highlihgt color and submenu text color to customize the text colors
3) Use Stats Bar color and the other color items to change the color and transparency of the menu bar.

Image Image

Use a different font for the menu bar and/or use colors
------------------------------------------------------

1) enable 'menu bar from folder' and use 'select path to menu bar folder' to point to your custom menu bar.
the custom menu bar folder should contain at least a ttf font and a font.cfg.
look into the example menu bar1
2) point to the folder and the new font will be installed.
3) after a font is installed the skin refreshes and because the skin settings are stored only if you exit kodi you have to go to the menu bar settings again.
4) enable 'use font from folder' to activate the new installed font.
5) you can combine 'use font from folder' with 'color menu bar' and 'menu bar from folder' or use it alone with the standard aeon menu bar

Image Image

Use a complete new menu bar look
--------------------------------

1) enable 'menu bar from folder' and use 'select path to menu bar folder' to point to your custom menu bar.
to customize the look of the menu bar the folder should contain at least a homemenu_back.png
2) point to the folder and the new look will be used.
3) after a font is installed the skin refreshes and because the skin settings are stored only if you exit kodi you have to go to the menu bar settings again.
4) you can combine 'use font from folder' with 'menu bar from folder' and/or all color text and menu bar color options like color and transparency

Image Image

Just play around the the possibilities to get to know the mod.

What should/can a new menu bar folder contain?
----------------------------------------------
A complete new menu bar contains the following files.

a font.ttf
font.cfg
homemenu_back.png
submenu bar.png
timepanel_mid.png

If you don't provide all images you have different possibilities to customize the menu bar. Just play around.
Reply
#2
** reserved **
Reply
#3
Here is two menu bars for Christmas Christmas Menu Bars
Font is not included
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#4
hi i am running windows 10 kodi jarvis 16.1 and madnox i have tried this but unsure what has happened as it seems my kodi has gone thanks

Image
Reply
#5
His mod is for Krypton only. Will not work with Jarvis.
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#6
how do i enable the service "script fonts" Huh
Reply
#7
Got it, it is not working when i want to start it i get an error message....
Reply
#8
1172 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "C:\Users\Home Theatre\AppData\Roaming\Kodi\addons\script.Fonts\default.py", line 90, in <module>
fontdir = sys.argv[1]
IndexError: list index out of range
-->End of Python script error report<--
Reply
#9
if __name__ == '__main__':
fontdir = sys.argv[1]

not workinmg correctly
Reply
#10
Anyone got it working correctly, what am I doing wrong?
Reply
#11
What OS do you use? I have tested on Windows only.

Can you get me the debug log from Kodi?
Reply
#12
(2017-03-15, 21:46)_Andy_ Wrote: What OS do you use? I have tested on Windows only.

Can you get me the debug log from Kodi?
Windows 10 x64.

Here is what the log says:
172 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "C:\Users\Home Theatre\AppData\Roaming\Kodi\addons\script.Fonts\default.py", line 90, in <module>
fontdir = sys.argv[1]
IndexError: list index out of range
-->End of Python script error report<--

I put the script.fonts in the addon folder. Then in kodi i see the scriptfonts in the addons. I activate the script. I press start, nothing happends. When i go and customize the menubar i see the font very small. All customization of the menubar works, accept for the font, returning the error in the log.

Verstuurd vanaf mijn XT1032 met Tapatalk
Reply
#13
Ah ok. Now i now what happened. The script.font is called by the mod. If you just run the script no directory is passed and hence the error. To get a new font for the menubar you need at least a directory e.g. c:\mybar
In this directory you have to put at least 2 files. A font e.g. example.ttf and a font.cfg. Look into the example provided by the mod in the zip. With the font.cfg you can control the size,style name of your selected font.

Open the menubarmod.zip and have a look into the folder menubar1. To see how this works copy the folder menubar1 to e.g. c:\menubar1
Have a look into the files in the menubar1 folder. Maybe you get an idea how this works.

Open Kodi and go into the menubar mod settings. Now do these steps provided in the instructions.

Use a different font for the menu bar and/or use colors
------------------------------------------------------

1) enable 'menu bar from folder' and use 'select path to menu bar folder' to point to your custom menu bar.
the custom menu bar folder should contain at least a ttf font and a font.cfg.
look into the example menu bar1
2) point to the folder (in this example c:\menubar1) and the new font will be installed.
3) after a font is installed the skin refreshes and because the skin settings are stored only if you exit kodi you have to go to the menu bar settings again.
4) enable 'use font from folder' to activate the new installed font.
5) you can combine 'use font from folder' with 'color menu bar' and 'menu bar from folder' or use it alone with the standard aeon menu bar

Hope this helps.
Reply
#14
(2017-03-16, 18:29)_Andy_ Wrote: Ah ok. Now i now what happened. The script.font is called by the mod. If you just run the script no directory is passed and hence the error. To get a new font for the menubar you need at least a directory e.g. c:\mybar
In this directory you have to put at least 2 files. A font e.g. example.ttf and a font.cfg. Look into the example provided by the mod in the zip. With the font.cfg you can control the size,style name of your selected font.

Open the menubarmod.zip and have a look into the folder menubar1. To see how this works copy the folder menubar1 to e.g. c:\menubar1
Have a look into the files in the menubar1 folder. Maybe you get an idea how this works.

Open Kodi and go into the menubar mod settings. Now do these steps provided in the instructions.

Use a different font for the menu bar and/or use colors
------------------------------------------------------

1) enable 'menu bar from folder' and use 'select path to menu bar folder' to point to your custom menu bar.
the custom menu bar folder should contain at least a ttf font and a font.cfg.
look into the example menu bar1
2) point to the folder (in this example c:\menubar1) and the new font will be installed.
3) after a font is installed the skin refreshes and because the skin settings are stored only if you exit kodi you have to go to the menu bar settings again.
4) enable 'use font from folder' to activate the new installed font.
5) you can combine 'use font from folder' with 'color menu bar' and 'menu bar from folder' or use it alone with the standard aeon menu bar

Hope this helps.
I have the example folder with menubar1 and the ttf file cfg file etc. I can also see it uses the bar from that folder. But when selecting font from foldet it does nothing, i only get a real small font. Well otherwise ill just keep playing around with it. Should kodi be started with administrative rights for this to work?

Verstuurd vanaf mijn XT1032 met Tapatalk
Reply
#15
If you see the menubar from the example (menubar1) and you don't see any errors from the script the new font should be active too. But it could be possible that the copy process of the font failed. Repeat the steps to activate the font and take a look into the kodi.log. You should see all steps from the script.font. Maybe you see an error too, because script.font tracks all steps in the kodi.log.

As the script tries to copy the font file maybe you are right and it's a permission issue with admin rights.

You can do all the steps from the script.font manually too. Just copy your desired font (e.g. Jelly_Crazies.ttf from menubar1) into skin.aeon.madnox/fonts folder. Open the font.xml from skin.aeon.madnox /1080i with you favorite editor and enter these lines.
Code:
<!-- script.Font -->
        <font>
            <name>MenubarFont</name>
            <filename>Jelly_Crazies.ttf</filename>
            <linespacing>1</linespacing>
            <aspect>0.8</aspect>
            <size>45</size>
            <style>uppercase</style>
        </font>
        <!-- script.Font -->
Restart Kodi and activate the font from the mod. Now you have the new font. This should always work. If you see an error in the log please post the error and maybe i can correct it.
Reply

Logout Mark Read Team Forum Stats Members Help
Menu bar mod for Madnox Krypton0