2016-04-19, 23:38
***another main menu background question***
how can we set default backgrounds images for each main menu heading via xml?
i have done a quick search on here and some of the answers have come close to what i want...but no juice. and i believe it's an easy fix (hopefully).
i know you can set the custom background images in the system settings. which is an easy fix. but that is not what i want to do. when i go to install my build on different devices (i have too many & it's growing), i want the custom backgrounds images to work off the bat. and i believe that the only way to achieve this, is to edit some xml code and have the images for each menu title in the "backgrounds" folder.
i have been looking through the xml files and i cant find anything that stands out (item id....). not like other skins, where the code for the background images are usually either in the "include_home.xml" or "include_horizontal_home.xml" file. after doing a search, i found some code in the "script-skinshortcuts-include.xml". i have added the following code to the other "item id's" and it worked for perfect for 1 second and then it disappeared.
but just like someone else mentioned, when i went back in the "script-skinshortcuts-include.xml", the lines of code that i had entered, has also disappeared. how can we stop this overwriting of the code i've entered, or is there a way we can code the images in another file?
im sorry if this has been asked and answered before. but i've not got the time to read through 316 pages and the search didn't give me any results that helped me. so i had to ask.
how can we set default backgrounds images for each main menu heading via xml?
i have done a quick search on here and some of the answers have come close to what i want...but no juice. and i believe it's an easy fix (hopefully).
i know you can set the custom background images in the system settings. which is an easy fix. but that is not what i want to do. when i go to install my build on different devices (i have too many & it's growing), i want the custom backgrounds images to work off the bat. and i believe that the only way to achieve this, is to edit some xml code and have the images for each menu title in the "backgrounds" folder.
i have been looking through the xml files and i cant find anything that stands out (item id....). not like other skins, where the code for the background images are usually either in the "include_home.xml" or "include_horizontal_home.xml" file. after doing a search, i found some code in the "script-skinshortcuts-include.xml". i have added the following code to the other "item id's" and it worked for perfect for 1 second and then it disappeared.
Code:
<property name="background">/Users/****/Library/Application Support/Kodi/addons/skin.aeon.nox.silvo/backgrounds/default_bg.jpg</property>
<property name="backgroundName">/Users/****/Library/Application Support/Kodi/addons/skin.aeon.nox.silvo/backgrounds/default_bg.jpg</property>
replaced my name with ****
but just like someone else mentioned, when i went back in the "script-skinshortcuts-include.xml", the lines of code that i had entered, has also disappeared. how can we stop this overwriting of the code i've entered, or is there a way we can code the images in another file?
im sorry if this has been asked and answered before. but i've not got the time to read through 316 pages and the search didn't give me any results that helped me. so i had to ask.