Hey Bob,
Second Question
.
I pushed the the skinning projekt to krypton (different latest nightly´s) and plays with the new Version 1.0.8 (tried 1.0.9 from github with the same error).
Menu and submenu creation work, but i dont see any widgets from the template.
Some problems with empty groups from the templates was resolved with the templateonly option.
I cannot find any error in the code or change that refelct the error on my side.
The Kodi log ends up with the error:
Code:
10:30:12 T:7088 WARNING: Skin has invalid include: skinshortcuts-template-widgetPanel1
10:30:12 T:7088 WARNING: Skin has invalid include: skinshortcuts-template-widgetPanel2
10:30:12 T:7088 WARNING: Skin has invalid include: skinshortcuts-template-widgetPanel1
10:30:12 T:7088 WARNING: Skin has invalid include: skinshortcuts-template-widgetPanel2
10:30:22 T:7088 ERROR: Control 211 in window 13000 has been asked to focus, but it can't
10:30:22 T:7504 ERROR: Traceback (most recent call last):
10:30:22 T:7504 ERROR: File "C:\Program Files (x86)\kodi-17.0-Krypton\portable_data\addons\script.skinshortcuts\resources\lib\library.py", line 1005, in playlists
10:30:22 T:7504 ERROR: contents_data = contents.read().decode('utf-8')
10:30:22 T:7504 ERROR: File "C:\Program Files (x86)\kodi-17.0-Krypton\system\python\Lib\encodings\utf_8.py", line 16, in decode
10:30:22 T:7504 ERROR: return codecs.utf_8_decode(input, errors, True)
10:30:22 T:7504 ERROR: UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 102: invalid start byte
10:30:29 T:7088 ERROR: Control 3 in window 13001 has been asked to focus, but it can't
10:30:34 T:7088 ERROR: Control 3 in window 13002 has been asked to focus, but it can't
10:30:47 T:7088 WARNING: Skin has invalid include: skinshortcuts-template-widgetPanel2
10:30:47 T:7088 WARNING: Previous line repeats 1 times.
10:30:47 T:7088 WARNING: Skin has invalid include:
But the script include has the correct widget group
Code:
<include name="skinshortcuts-template-widgetPanel1-Master user">
<control type="group">
<visible>StringCompare(Container(9000).ListItem.Property(submenuVisibility),movies)</visible>
<control id="510" type="panel">
<visible>StringCompare(Container(9000).ListItem.Property(submenuVisibility),movies)</visible>
<orientation>horizontal</orientation>
<include name="PanelWidget1">
<param name="PWidth">848</param>
<param name="PHeight">170</param>
</include>
<include name="widgetPanelPoster">
<param name="Texture">$VAR[widget1_art_Poster]</param>
<param name="Width">104</param>
<param name="Height">150</param>
<param name="Aspect">scale</param>
<param name="Aligny">bottom</param>
<param name="Reflecttop">130</param>
<param name="IsBorder">true</param>
<param name="IsBorderless">false</param>
</include>
<content sortby="" sortorder="" target="video">addons://sources/video</content>
</control>
</control>
</include>
But doesent show anything with the include <include>skinshortcuts-template-widgetPanel1</include>.
If I activate the debugging i can focus the Widget with the mouse and navigate in there. It seems to be a visibility or the focus.
I´ve tried <skinshortcuts>visibility</skinshortcuts> in a group above and in the widget container template.
In jarvis it works correctly. Same version in Krypton doesent show widgets.
The error 0xf6 seems a german problem with the "umlaute". No idea why, i havent an "Umlaut" in the username or on any other paths.
For a better look here are the project files.
https://github.com/AeonFlex/AeonFlex_WorkDir/
Regards