2016-12-06, 05:42
(2016-12-04, 22:43)marcelveldt Wrote:Marcel,(2016-12-04, 16:50)wyrm Wrote: I have also noticed a couple of bugs that I think have recently crept into the script. Unfortunately I can't pin down exactly when the problem occurred as your new builds are coming think and fast, but somewhere between 120 and 131.
Anyway problem 1 - the following code brings up a selection dialog as it did previously, but the skin string does not change when a item is selected.
PHP Code:<onclick>RunScript(script.skin.helper.service,action=setskinsetting,setting=homemenu-typeval,header=$LOCALIZE[31900])</onclick>
Hmmm, that should still work perfectly fine. In fact, I'm using a lot of those skinsettings in my own Titan skin too without any issues.
Can you spot any errors in your log maybe after you try to set a value ?
Yep confirmed your code working fine, mine is up the shit. This is the only error showing in my log. Not very helpful, but maybe a hint to you of what the hell is going on.
PHP Code:
11:07:20.107 T:10380 DEBUG: ------ Window Deinit (Startup.xml) ------
11:07:20.124 T:10380 DEBUG: ------ Window Init (Home.xml) ------
11:07:20.124 T:10380 INFO: Loading skin file: Home.xml, load type: KEEP_IN_MEMORY
11:07:20.154 T:10380 DEBUG: CDirectoryProvider[include]: refreshing..
11:07:20.154 T:12264 ERROR: XFILE::CDirectory::GetDirectory - Error getting include
11:07:20.160 T:10924 DEBUG: Thread JobWorker start, auto delete: true
11:07:20.160 T:12264 DEBUG: CRecentlyAddedJob::UpdateMusic() - Running RecentlyAdded home screen update
Only real difference between your skinsettings.xml file and mine is that you use spaces for formatting your code and I use TABs and I use a end of line xml comment and you use your description field for settings descriptions. Other than that I can't spot any differences. Have you made ANY changes to the handling of this file in the last 12 days or so as it seemed to work fine before and then nada. Issue seems to be with my skinsettings.xml file as I have reverted any code changes I have made to the skin since before then and still no joy. As to can I see anything in the log after I try to change the setting. No, log shows select dialog init, various button actions and then select dialog deinit. Nothing else.
Mystified,
Wyrm (AppTV)