[RELEASE] Super Favourites AKA Super-Addon Creator - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [RELEASE] Super Favourites AKA Super-Addon Creator (/showthread.php?tid=192662) 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
RE: [RELEASE] Super Favourites AKA Super-Addon Creator - spoyser - 2014-05-09 (2014-05-09, 20:15)Lunatixz Wrote: Any chance you can make a small change to your plugin... if it's possible... Bit of an odd one that. The problem is that in my code when I add a Folder I call Code: xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]), url=u, listitem=liz, isFolder=True) whereas when I add a Favourite I call: Code: xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]), url=u, listitem=liz, isFolder=False) It is really a problem with what XBMC interprets isFolder to mean; really it just means when I click this listitem this plugin will populate a new folder (ie a list), in other words in the XBMC plugin framework if a list item is flagged as a folder then the plugin is responsible for populating the next list when the item is clicked. Therefore as far as my plugin is concerned in this instance 'Latest Episodes' isn't a folder simply because my plugin itself isn't going to being populating a new list when the item is clicked, it just calls xbmc.exceutebuiltin (which just so happens to end up with a list being populated by someone else!) But I'll do some more digging and see if I can trick XBMC into playing nicely! (what json command are you using?) RE: [RELEASE] Super Favourites AKA Super-Addon Creator - Lunatixz - 2014-05-09 (2014-05-09, 21:45)spoyser Wrote:(2014-05-09, 20:15)Lunatixz Wrote: Any chance you can make a small change to your plugin... if it's possible... Code: http://localhost:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Files.GetDirectory","params":{"directory":"plugin://plugin.program.super.favourites"},"id":17} I then query the results to peek at the contents in the folders... I wrote a plugin chtype for pseudo that walks recursively through a plugin looking for "files" but it counts on a plugin returning "directory" or "file" file types. Hoping when we are finished your plugin is the go to easy configuration tool for creating "Plugin and Streaming" channels for PseudoTV Live... RE: [RELEASE] Super Favourites AKA Super-Addon Creator - psike - 2014-05-10 Bug: Enable override context menu, then disable super favorites addon. XBMC will completely lose it's context menu, even after restart it's still gone. Only way to fix it is by enabling the addon again then disabling the override. Code: 10:20:37 T:6024 ERROR: EXCEPTION: Could not get AddonPtr! [RELEASE] Super Favourites AKA Super-Addon Creator - spoyser - 2014-05-10 (2014-05-10, 09:27)psike Wrote: Bug: Well spotted and thanks for letting me know about it. I have sorted out a fix for it but since it isn't a show stopper I will wait to put it out in the next release. Why would anyone want to disable Super Favourites anyway LOL RE: [RELEASE] Super Favourites AKA Super-Addon Creator - spoyser - 2014-05-10 (2014-05-09, 20:15)Lunatixz Wrote: Any chance you can make a small change to your plugin... if it's possible... Right, I have made a few changes which should hopefully give you what you need. I have changed the addon so that PlayMedia type favourites are now set with isFolder=False (so will be classed as 'Files'), whereas ActivateWindow and RunScript types are set with isFolder=True (so will appear as Directories in the json response). This should now do as you wish, if you see any classified incorrectly can you let me know and I'll see what can be done. The code is in Git, but if you just want the latest addon you can get it from here: https://github.com/spoyser/spoyser-repo/raw/master/zips/plugin.program.super.favourites/plugin.program.super.favourites-1.0.4.zip This should definitely be classed as a beta release! RE: [RELEASE] Super Favourites AKA Super-Addon Creator - Lunatixz - 2014-05-10 (2014-05-10, 16:16)spoyser Wrote:(2014-05-09, 20:15)Lunatixz Wrote: Any chance you can make a small change to your plugin... if it's possible... Thanks again... I'll check it out later ::Update:: Works great, thanks again... RE: [RELEASE] Super Favourites AKA Super-Addon Creator - senna99 - 2014-05-13 Hello spoyser Is there any possibility to display ContextMenu in home section,or edith super.favourites from home section ? Best Regards [RELEASE] Super Favourites AKA Super-Addon Creator - spoyser - 2014-05-13 (2014-05-13, 12:27)senna99 Wrote: Hello spoyser I could have a look, what would you want the menu to have from the home screen. As there isn't a currently selected list item when on the Home screen to add to favourites would you want it to offer to open Super Favourites for you instead? RE: [RELEASE] Super Favourites AKA Super-Addon Creator - senna99 - 2014-05-13 Hello spoyser Thanks for the reply, you're right, I want to have menu in home screen. Like on xbox one pins screen, to move or delete or rename super favourites . Of course if this is possible . Best Regards [RELEASE] Super Favourites AKA Super-Addon Creator - spoyser - 2014-05-13 (2014-05-13, 19:51)senna99 Wrote: Hello spoyser But what do you want on the menu when on the home screen? RE: [RELEASE] Super Favourites AKA Super-Addon Creator - senna99 - 2014-05-13 Hello spoyser English is not my native language,I apologize if I was unclear. Next, when I press F7 or any other button on the keyboard. I want to get menu with controls move up,move down,edith,delete,rename etc... Of course if this is possible with your script. Best Regards RE: [RELEASE] Super Favourites AKA Super-Addon Creator - spoyser - 2014-05-13 (2014-05-13, 21:03)senna99 Wrote: Hello spoyser Can you not just press the menu button (or C on your keyboard) RE: [RELEASE] Super Favourites AKA Super-Addon Creator - senna99 - 2014-05-13 Hello spoyser In any case thanks,your last comment would probably say that it is not possible. Best Regards [RELEASE] Super Favourites AKA Super-Addon Creator - spoyser - 2014-05-14 (2014-05-13, 23:03)senna99 Wrote: Hello spoyser I'm sure I could do what you want, unfortunately I don't really understand what it is you want RE: [RELEASE] Super Favourites AKA Super-Addon Creator - senna99 - 2014-05-14 Hello spoyser I'm really sorry,I do not know how else to explain my question. For example I have your one super.favourites on home section Eminem- Legacy.mp3 ,on the pictures you can see command window or ContextMenu. That ContextMenu I want on home section, when I press the C button to have possibility to edith favourites froim home section. I hope I made an effort to explain my question.Once again apologize for bad writing English. Best Regards |