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 - sveni_lee - 2018-01-18 I've played a little bit arround with the custom widget cause I've my own little Plugin which shows me the next epidode on PVR for series I've in library. It's like nextaired but for German Broadcast based on the TV-Guide for next 15 days... so I insert in custom Wigdet: Code: plugin://plugin.program.serienplaner/?methode=get_item_serienplaner&reload=$INFO[Window(Home).Property(SerienPlaner.Countdown)] most works out of the box... but I've some problems with the "Property ListItems]
so Code: $INFO[Window(Home).Property(ListItem.Label2)] is available but Code: $INFO[Window(Home).Property(ListItem.Property(DateTime))] any idea? Sveni_Lee RE: script.skinshortcuts - tmarquesbr - 2018-01-22 Looks like I got an error from Skin Shortcuts. It's happening every moment I'm going to Home screen and it's going with all skins. I'm using 17.6 from Windows Store. I looked the whole log myself and noticed that this sequence always repeat when there's an error from Skin Shortcuts: Code: 00:48:30.822 T:15608 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- RE: script.skinshortcuts - Solo0815 - 2018-01-26 Is anyone working on skinshortcuts? This bug on RPi is very annoying: https://forum.kodi.tv/showthread.php?tid=178294&pid=2657452#pid2657452 Thx RE: script.skinshortcuts - Rantanplan-1 - 2018-02-18 Hello How can i get the Path from a Specivic Mainmenu Item? What i tried so far is:
Did a Fakelist for the Mainmenu with content <include>skinshortcuts-mainmenu</include> (ID="9000")Regards RE: script.skinshortcuts - jurialmunkey - 2018-02-18 (2018-02-18, 02:42)Rantanplan-1 Wrote: Hello What do you mean by path? Do you mean the onclick action e.g. ActivateWindow(Videos,MovieTitles,return)? You can get that with Code: $INFO[Container(9000).ListItemAbsolute(2).Property(path)] You can look in the script-skinshortcuts-includes.xml file to see what properties are available for each menu item. RE: script.skinshortcuts - Rantanplan-1 - 2018-02-18 Thanks. what i would need, or what im looking for, is a path i could use in a content tag. gives me:
i would need is something like this: (path without the "ActivateWindow" part)
according to the wiki Quote:What properties does Skin Shortcuts return Code: $INFO[Container(9000).ListItemAbsolute(2).Property(list)] wasnt able to finde a propper path in script-skinshortcuts-includes.xml ------ EDIT: O.K. guess i found a Workaround by using full paths in my Dafaults (xy.Data.xml) if i set the "action" in my .Data.xml to "ActivateWindow(Videos,library://video/movies/titles.xml/,return)" instead of "ActivateWindow(Videos,MovieTitles,return)" Property(list) returns the path i would need. Needs some thuther testing but looks god so far. Regards RE: script.skinshortcuts - DjCisco - 2018-02-21 Hi I am trying to setup the default shortcuts for my skin with the script, but I am not clear as to how to define the defaults for the submenus. I have a menu structure with a Main Menu and 2 Levels, so two SubMenus per Main Menu. I can correctly define the SubMenus in the Management Dialog then use them using the includes for submenu and submenu-1. But I dont see how to define the Defaults for it. I was able to define the MainMenu Defaults via mainmenu.DATA.xml but not for the submenus. Can anyone provide an example as to how it would be done for the submenus. I would for example like to define the following Structure: Main Menu Item 1 = Movies Submenu Items for Movies are = Titles, Genres SubMenu 1 Items for Movies are = Actors Directors Main Menu Item 2 = Tv Shows Submenu Items for Tv Shows are = Titles, Recently Added Episodes SubMenu 1 Items for Tv Shows are = Actors, Directors thanks RE: script.skinshortcuts - DjCisco - 2018-02-23 (2018-02-21, 02:03)DjCisco Wrote: Hi I am trying to setup the default shortcuts for my skin with the script, but I am not clear as to how to define the defaults for the submenus.ok nevermind, I found out how to do this. However in order for the defaults to correctly work, It is apparently necessary for the LabelId and the DefaultID of each defined menu in mainmenu.DATA to be the same. Can anyone explain why? I found nothing of the sort in the wiki. RE: script.skinshortcuts - z1haze - 2018-04-02 What version is the 'latest stable' for Krypton? RE: script.skinshortcuts - DaveJr - 2018-04-20 How can I make a second submenu located on top of the home menu bar where the infoline bar used to be? (I already moved the infoline bar to the top and rss feed just below that) Using the Nox Silvo skin. RE: script.skinshortcuts - Chillbo - 2018-04-30 Just noticed that there are two wrong labels being used by the skinshortcuts script in the leia test branch... Labels 10005 and 10006 for 'Music' and 'Videos' are not being used by the newest version of the Kodi v18 alpha2. The correct labels are 2 and 3 now. See the new localizes used for those labels: Code: #: addons/skin.estuary/xml/Home.xml And see this remark where 10005 and 10006 used to be: Code: #empty strings from id 10005 to 10006 At the moment, 'Music' and 'Videos' are therefore just shown as empty labels and not properly usable with a skin under the newest v18 alpha. If this could be updated, it would be greatly appreciated! RE: script.skinshortcuts - andersfisker - 2018-05-05 Hi all, I am in the process of implementing Skin Shortcuts in my skin. In my "home screen" i would like to have my main menu(which i have already implemented with the script) and a separate grouplist containing various widgets. The thing is that the widget grouplist, should be independent from the main menu, as it does not change - no matter which main menu item is focused. So currently i have a "dummy" menu group in the home screen, from which the widget items in the grouplist grab info from(path, target etc.). My question is, is this the proper way to implement a "widget grouplist"? It seems a bit.. hacky. And on another note, it makes the visibility conditions a bit of a mess. Sorry if the question is confusing, it is a bit difficult to write down Any help is appreciated, thanks! RE: script.skinshortcuts - jurialmunkey - 2018-05-06 (2018-05-05, 21:21)andersfisker Wrote: Hi all, If you are using skinshortcuts templates to build the widgets, then it might be the only way. However, if you're not, then you might be looking for the "just select widgets" method https://github.com/BigNoid/script.skinshortcuts/blob/master/resources/docs/advanced/Just%20Select.md This method will put all the properties in skin strings which you can then use to fill the content path and target and so on. The main downside of this method is that you will have to make a custom dialog for management of the widgets, but with param based includes this is nowhere near as big a task as it used to be. RE: script.skinshortcuts - andersfisker - 2018-05-06 (2018-05-06, 00:35)jurialmunkey Wrote:The "Just-Select" method definitely seems to be a better solution for me, as i am not using templates. The reason i did not go with it at first, is i cant figure out how to implement widget defaults, while using Just-Select. Is this possible? And if so, could you point me in the right direction?(2018-05-05, 21:21)andersfisker Wrote: Hi all, And thanks for the reply! RE: script.skinshortcuts - jurialmunkey - 2018-05-06 (2018-05-06, 10:10)andersfisker Wrote:(2018-05-06, 00:35)jurialmunkey Wrote:The "Just-Select" method definitely seems to be a better solution for me, as i am not using templates. The reason i did not go with it at first, is i cant figure out how to implement widget defaults, while using Just-Select. Is this possible? And if so, could you point me in the right direction?(2018-05-05, 21:21)andersfisker Wrote: Hi all, Probably the easiest way to set default widgets is to do a first run skin initialisation where the skin sets all the default skin strings and settings. You can do this using onload conditions in Startup.xml and have a special setting to check against for the first run. e.g. Code: <onload condition="!Skin.HasSetting(Initialised)">Skin.SetString(Widget1.Path,videodb://movies/titles)</onload> You can even force Startup.xml to load when the user first switches to the skin (so they don't need to reset) by adding an <onunload> line in DialogConfirm.xml (because the user will be asked if they want to keep the skin when first switching to it) e.g. Code: <onunload condition="!Skin.HasSetting(Initialised)">ActivateWindow(Startup)</onunload> |