2016-05-02, 19:02
(2016-03-09, 00:45)rpw79 Wrote:(2016-03-08, 18:24)BobCratchett Wrote:(2016-03-08, 18:20)rpw79 Wrote: Do you by any chance know how to make the links to backgrounds work on both pc and android?
I presume you mean when you're copying the userdata folder from one system to the other? Assuming that the backgrounds are both accessible from the same path (best to use the special protocol (wiki)), then go to userdata (wiki)/addon_data/script.skinshortcuts/ and edit skin.aeon.nox.silvo.properties in your favourite text editor and change the paths there.
Please backup the file first as the file isn't designed to be manually edited and, if you get it wrong, it can lead to backgrounds disappearing or even the script being unable to build the menu and the best support I'll be able to offer you is to restore your backup or delete the file.
Hi Bob
Sorry to bother u again I have found the script file and the links to the main menu items.
There is a background and background name which says c:// ........I have seen a video which say delete all txt shown so that it shows special://appdata/backgrounds/.......... (Which is where I have saved my background file) But this doesn't work it just knocks all backgrounds and widgets out? What line of script should it say?
Thanks
Ryan
(2016-03-09, 01:28)BobCratchett Wrote: This is a simple example of a .properties file:-
Code:[['mainmenu', 'weather', 'background', u'/Users/bobC/Pictures/stock_pictures/file0001.jpg'],
['mainmenu', 'weather', 'backgroundName', u'/Users/bobC/Pictures/stock_pictures/file0001.jpg'],
['mainmenu', 'weather', 'icon', 'special://skin/extras/icons/DefaultAddonWeather.png']]
The first column is the group - in your case, if you want to change the location for a main menu item, look for "mainmenu". The second represents the individual item, based on its label (what the script calls the labelID). The third is the property name, and the fourth is the value.
So, if I wanted to change the 'background' property (which is the path to the background associated with the menu item) for my Weather menu item on the main menu, I'd edit the fourth column of the first row. The 'backgroundName' property is just the name of the background, if the skin wants to display it, and isn't used to determine which image is shown.
If you have edited the relevant line in your own .properties file to the special protocol path and the background now isn't showing either the background isn't where you've specified, or you've made a mistake whilst editing so that Skin Shortcuts can't correctly parse the file. Unfortunately, neither are issues that I can assist with.
Hi Bob
I have seen your post but could you help further as per Ryan issue I am having the same problem I have edited the script in skin.aeon.nox.silvo.properties file from
['mainmenu', 'colorblack-movies-color', 'background', u'C:\\Users\\chris\\AppData\\Roaming\\Kodi\\userdata\\Backgrounds\\Movies\\'],
to
['mainmenu', 'colorblack-movies-color', 'background', u'special:\\home\\Kodi\\userdata\\Backgrounds\\Movies\\'],
But as per Ryan it takes the backgrounds out. Checked the file location which is correct so can only think my script edits are wrong.
thanks