Release script.skinshortcuts - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300) +---- Thread: Release script.skinshortcuts (/showthread.php?tid=178294) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
RE: script.skinshortcuts - removed151214 - 2014-07-17 Fair warning to any skinners developing against the skin shortcuts master branch - the new localisation code has landed, and the new xml file format will land in the next couple of days. Neither require any changes on your part, though with the localisation code you can now just use the id of the string you want, rather than ever having to prefix it with ::LOCAL:: or ::SCRIPT::, and you of course have the choice to move your defaults to the new xml format. However, please be aware that there will almost certainly be things I've missed as I've changed the code over, so please expect breakages on the master branch - and I'd appreciate any reports as issues on git (And once the new xml code is in place, I can add features like the new defaultID, locking shortcuts, and all the other little improvements that have been so difficult to add with such a rigid data store.) Cheers RE: script.skinshortcuts - Hitcher - 2014-07-18 Cheers. RE: script.skinshortcuts - sualfred - 2014-07-18 Hey mate, I'm having troubles with building the submenu. PHP Code: <item id="5"> The sub menu entries get the wrong submenuVisibility and nearly the most of them have "mainmenu" as trigger O_o I'm building the menus with this command: PHP Code: <onload>RunScript(script.skinshortcuts,type=buildxml&mainmenuID=9110&levels=0&group=mainmenu|widgets1|widgets2|widgets3|widgets4|widgets5|widgets6|widgets7|widgets8|widgets9|widgets10)</onload> I also deleted the old includes xml and the addon userdata but the problem still exists. Edit: Changed my XBMC language from German to English and it works. Maybe it has something to do that the translated labels are used for the group-mainmenu label values instead of the language strings? RE: script.skinshortcuts - removed151214 - 2014-07-18 I knew this new localisation code would be more trouble than its worth I pushed an update fixing an issue where the labelID was being generated from the wrong localisation output about half an hour ago. If you haven't already tried with that version, I'd appreciate it if you could (I don't think that'll fix it, but it reduces the possibilities). Otherwise I'll switch my system to German and let you know when I've tracked the bug down RE: script.skinshortcuts - sualfred - 2014-07-18 You deserve a medal for being fast O_o Yep, with the fix it seems to be working. I will ask shedrock to test it with the latest build. He noticed that bug first. RE: script.skinshortcuts - removed151214 - 2014-07-18 Great Thanks to you, and pass my thanks to shedrock, for the bug report. (Now to try and switch my ui back from German when I haven't had a lesson in over 20 years!) RE: script.skinshortcuts - sualfred - 2014-07-18 Ok, it isn't fixed completely. If I have action overrides and the condition becomes true, the submenu is wrong becasue the submenuVislbity looks like this: "<property name="submenuVisibility">movies-0</property>" Another issue: I'm providing an optional shortcut, which has a own icon. It's set correctly with "<icon>backgrounds/bg/watchlist.jpg</icon>" but it won't be displayed in the management dialogs. For common default items the overwritten icons are displayed. RE: script.skinshortcuts - removed151214 - 2014-07-18 (2014-07-18, 08:40)sualfred Wrote: Ok, it isn't fixed completely. I'll try to take a look at this before I head out, otherwise I'll fix it this evening. (2014-07-18, 08:40)sualfred Wrote: Another issue: This should be fixed when the xml data store lands. (The code to load shortcuts into the management dialog is being rewritten as part of this, so the fix will be included with that) RE: script.skinshortcuts - sualfred - 2014-07-18 Ok thanks. If you need any more testing, you know where you can find me. RE: script.skinshortcuts - removed151214 - 2014-07-18 (2014-07-18, 08:40)sualfred Wrote: If I have action overrides and the condition becomes true, the submenu is wrong becasue the submenuVislbity looks like this: "<property name="submenuVisibility">movies-0</property>" I can't reproduce this. Can you copy/paste your override so I can see if that triggers it. Ignore that - it's when your hubs are enabled. And this should now be fixed on git. Again, thanks for the bug report. RE: script.skinshortcuts - sualfred - 2014-07-18 Confirmed. Now it works as it should. Thanks for the fast fix, I will let u know if I notice any other issue. RE: script.skinshortcuts - sualfred - 2014-07-18 Hmmm.. it seems that widgets are broken for custom shortcuts. Cannot set any widget to my watchlist item. For every other item it works and it's simpyl not added to the includes xml. RE: script.skinshortcuts - removed151214 - 2014-07-18 Hmm. That's quite a big bug found there (meaning it won't be quick to fix!) It's caused by the labelID being set by a label provided by the skin (and somewhere, some code setting the condition to the wrong localisation of that) - quick solution, rename the menu entry and the widget should show up. Edit: Much smaller bug than I thought, and should now be fixed on git. RE: script.skinshortcuts - avalon.project - 2014-07-21 Hi, When I change the Icon in the settings with the button id="306" only show "MyMovies" and "MyTVshows" folder in the select window. How can i navigate to for example userdata? RE: script.skinshortcuts - removed151214 - 2014-07-21 (2014-07-21, 14:23)avalon.project Wrote: Hi, The sources availble in the image dialog are those set in the File Manager (normally in Settings submenu). To navigate to the userdata folder, it'd need to be added there. |