S W A N (alpha , updated march-2021)
(2021-02-09, 20:10)Aaiemron Wrote:
(2019-10-10, 16:20)mardukL Wrote:
 

HOME WIDGETS

NOTE: at the current state you're not able to change the widget position afterwards ( e.g. move widget pos 1 to pos 5 )
 
PS:
Sorry for Typos & wrong Spelling
Very nice skin with a lot of great options.
Any idea when you will make it possible to change the widget position?

Sorry, no idea atm.
Its indeed a wished and needed Option but unsure when i start to try figuring out if that is even possible without using addon.
But its on to do list.
(2021-02-09, 19:00)fantasticn Wrote: @mardukL

thanks for your reply.

As to No.1:
When I have the entry linked to any kind of addon or android app it seems like your call will not only start that specific addon or app but also jump into the respective folder (ActivateWindow?). At least when you close that addon or app you will find yourself not in main menu again but in the addons view.

As to No.2:
Same as no. 1: E.g. if you have favorites or super favorites as a widget with addons or apps listed and you start one of those addons/apps, after you close it again you will not return to the main menu but to the addons view.

Thanks for your explanation. But I still don't get it. Both sections (path and target) will include parameters that you will call with the "ActivateWindow"-command, correct? So do we need these different sections anyway? Btw.: How does "ActivateWindow" work for a widget? And can you actually have a "target window" as a widget? I would assume you would always need a path with the items in such path shown as the widget. Also I had tried some of the Windows-IDs listed in the Kodi wiki ( https://kodi.wiki/view/Window_IDs ) as a "Target". But they all did not work.

as to No. 3 and 4:
Just take your time. I was just adding items to your list ;-)

And here we go with some more:
You have weather listed as a possible entry for the main menu. But it does not work. Also you cannot include it as a widget. I assume it is also not done yet.

Btw.: I am not tyring to put any pressure on you. So please excuse if I sound like that. It's just that now that I have installed SWAN on all my machines I somehow cannot wait for all the features to work ;-)

Again, thanks for your hard work and your support!



Here you'll see how ..

the main menu items are used.

if custom executebuiltin is set use it
if custom target is set but path empty do activatewindow(target,return)
if custom target and path is set do activatewindow(target,path,return)

NOTE:
- a custom target can be used without custom path
- a custom path will not be used without a custom target
-> if that is wished you'll be forced to set a custom executebuiltin

- video/audio plugins should be avail in corresponding shortcut section (if addon creators "flagged" it for that ) and will usage of custom advanced obsolete
e.g.

<extension point="xbmc.python.pluginsource" library="plugin.py">
<provides>video</provides>
</extension>


main menu item template

<include name="mainmenu_item">
<item id="900$PARAM[id]">
...
<!-- set skin search term -->
<onclick condition="String.IsEqual(Skin.String(mainmenuitem$PARAM[nr]_path),1120)">Skin.SetString(SearchTerm)</onclick>

<!-- https://kodi.wiki/view/List_of_built-in_functions - e.g. EjectTray() , RipCD , VideoLibrary.Search ... etc -->
<onclick condition="!String.IsEmpty(Skin.String(mainmenuitem$PARAM[nr]_executebuiltin))">$INFO[Skin.String(mainmenuitem$PARAM[nr]_executebuiltin)]</onclick>

<!-- window targeting - if path empty - https://kodi.wiki/view/Opening_Windows_and_Dialogs -->
<onclick condition="String.IsEmpty(Skin.String(mainmenuitem$PARAM[nr]_executebuiltin)) + String.IsEmpty(Skin.String(mainmenuitem$PARAM[nr]_path))">ActivateWindow($INFO[Skin.String(mainmenuitem$PARAM[nr]_target)],return)</onclick>

<!-- window &amp; path targeting - https://kodi.wiki/view/Opening_Windows_and_Dialogs -->
<onclick condition="String.IsEmpty(Skin.String(mainmenuitem$PARAM[nr]_executebuiltin)) + !String.IsEmpty(Skin.String(mainmenuitem$PARAM[nr]_path))">ActivateWindow($INFO[Skin.String(mainmenuitem$PARAM[nr]_target),,$COMMA]$INFO[Skin.String(mainmenuitem$PARAM[nr]_path)],return)</onclick>
...
</item>
</include>

widgets item template reference https://kodi.wiki/view/Dynamic_List_Content

...
<content target="$INFO[Skin.String(userwidget$PARAM[nr]_target)]" limit="$INFO[Skin.String(userwidget$PARAM[nr]_limit)]" sortorder="$INFO[Skin.String(userwidget$PARAM[nr]_sortorder)]" sortby="$INFO[Skin.String(userwidget$PARAM[nr]_sortby)]">$INFO[Skin.String(userwidget$PARAM[nr]_path)]</content>
...


And yepp, weather widget need to be static items for - didnt worked on that
weather window is not defined - didnt worked on that

By writing this, i found 2 issues which will be fixed soon.
(missed reset string at set custom target, 2 times the same action for custom executebuiltin


EDIT:
"new" Widget Layout is ready

https://streamable.com/k3imk9
Skins                                                                                        
Reply


Messages In This Thread
RE: S W A N (wip, tease) - by ontap - 2019-10-10, 20:09
RE: S W A N (wip, tease) - by 3500 - 2019-10-10, 20:47
RE: S W A N (wip, tease) - by mardukL - 2019-10-11, 15:26
RE: S W A N (wip, tease) - by Butta97 - 2019-10-12, 23:45
RE: S W A N (wip, tease) - by mardukL - 2019-10-14, 13:02
RE: S W A N (wip, tease) - by Butta97 - 2019-10-16, 10:31
RE: S W A N (wip, tease) - by mardukL - 2019-10-16, 12:39
RE: S W A N (wip, tease) - by Fambank - 2019-10-16, 13:16
RE: S W A N (wip, tease) - by mardukL - 2019-10-24, 15:42
RE: S W A N (wip, tease) - by Butta97 - 2019-10-28, 04:56
RE: S W A N (wip, tease) - by mardukL - 2019-10-28, 13:43
RE: S W A N (wip, tease) - by sanangel - 2019-11-16, 21:24
RE: S W A N (wip, tease) - by mardukL - 2019-11-17, 16:38
RE: S W A N (wip, tease) - by sanangel - 2019-11-18, 00:52
RE: S W A N (wip, tease) - by sanangel - 2020-01-02, 18:28
RE: S W A N (wip, tease) - by mardukL - 2020-01-02, 18:44
RE: S W A N (wip, tease) - by sanangel - 2020-01-02, 19:08
RE: S W A N (wip, tease) - by mardukL - 2020-01-03, 02:16
RE: S W A N (wip, tease) - by sanangel - 2020-01-03, 09:44
RE: S W A N (wip, tease) - by mardukL - 2020-01-23, 09:25
RE: S W A N (wip, tease) - by piscdi - 2020-01-23, 14:37
RE: S W A N (wip, tease) - by trkselim - 2020-01-23, 20:29
RE: S W A N (wip, tease) - by mardukL - 2020-01-24, 15:30
RE: S W A N (wip, tease) - by sanangel - 2020-01-30, 18:23
RE: S W A N (wip, tease) - by Butta97 - 2020-01-31, 03:04
RE: S W A N (wip, tease) - by sanangel - 2020-01-31, 10:37
RE: S W A N (wip, tease) - by mardukL - 2020-01-31, 19:57
RE: S W A N (wip, tease) - by mardukL - 2020-02-03, 20:18
RE: S W A N (wip, tease) - by sanangel - 2020-02-04, 17:46
RE: S W A N (wip, tease) - by Butta97 - 2020-02-05, 14:01
RE: S W A N (wip, tease) - by sanangel - 2020-02-05, 16:49
RE: S W A N (wip, tease) - by mardukL - 2020-02-05, 22:21
RE: S W A N (wip, tease) - by Butta97 - 2020-02-06, 12:03
RE: S W A N (wip, tease) - by mardukL - 2020-02-06, 15:16
RE: S W A N (wip, tease) - by mardukL - 2020-02-15, 17:17
RE: S W A N (wip, tease) - by sanangel - 2020-02-15, 18:02
RE: S W A N (wip, tease) - by mardukL - 2020-02-15, 19:47
RE: S W A N (wip, tease) - by Hudson_Hawk04 - 2020-02-15, 18:12
RE: S W A N (wip, tease) - by sanangel - 2020-02-15, 20:09
RE: S W A N (wip, tease) - by mardukL - 2020-02-24, 12:46
RE: S W A N (wip, tease) - by sanangel - 2020-03-01, 18:12
RE: S W A N (wip, tease) - by mardukL - 2020-03-02, 15:36
RE: S W A N (wip, tease) - by sanangel - 2020-03-03, 11:18
RE: S W A N (wip, tease) - by mardukL - 2020-03-16, 17:51
RE: S W A N (wip, tease) - by Butta97 - 2020-03-15, 11:16
RE: S W A N (wip, tease) - by mardukL - 2020-03-16, 17:57
RE: S W A N (wip, tease) - by Castilho - 2020-03-20, 23:04
RE: S W A N (wip, tease) - by mardukL - 2020-03-21, 21:48
RE: S W A N (wip, tease) - by mardukL - 2020-03-25, 16:48
RE: S W A N (wip, tease) - by DoctorBR - 2020-03-26, 03:42
RE: S W A N (wip, tease) - by mardukL - 2020-03-26, 17:45
RE: S W A N (wip, tease) - by ofory2012 - 2020-03-26, 18:29
RE: S W A N (wip, tease) - by mardukL - 2020-03-26, 18:32
RE: S W A N (wip, tease) - by ofory2012 - 2020-03-26, 19:42
RE: S W A N (wip, tease) - by Hudson_Hawk04 - 2020-03-27, 17:56
RE: S W A N (wip, tease) - by mardukL - 2020-03-27, 18:34
RE: S W A N (wip, tease) - by Hudson_Hawk04 - 2020-03-27, 18:40
RE: S W A N (wip, tease) - by mardukL - 2020-03-30, 11:29
RE: S W A N (wip, tease) - by Rijs43 - 2020-04-05, 19:21
RE: S W A N (wip, tease) - by Raitsa - 2020-04-05, 20:37
RE: S W A N (wip, tease) - by mardukL - 2020-04-06, 09:23
RE: S W A N (wip, tease) - by Rijs43 - 2020-04-08, 13:06
RE: S W A N (wip, tease) - by mardukL - 2020-04-08, 16:07
RE: S W A N (wip, tease) - by Rijs43 - 2020-04-09, 20:07
RE: S W A N (wip, tease) - by Rijs43 - 2020-04-10, 00:05
RE: S W A N (wip, tease) - by mardukL - 2020-04-10, 13:19
RE: S W A N (wip, tease) - by Rijs43 - 2020-04-10, 19:08
RE: S W A N (wip, tease) - by nazim12 - 2020-04-15, 19:19
RE: S W A N (wip, tease) - by mardukL - 2020-04-17, 17:41
RE: S W A N (wip, tease) - by TomT - 2020-04-20, 13:30
RE: S W A N (wip, tease) - by mardukL - 2020-04-20, 14:19
RE: S W A N (wip, tease) - by sanangel - 2020-04-20, 17:31
RE: S W A N (wip, tease) - by beatmasterrs - 2020-04-20, 18:27
RE: S W A N (wip, tease) - by mardukL - 2020-04-21, 08:01
RE: S W A N (wip, tease) - by Aaiemron - 2020-04-20, 17:36
RE: S W A N (wip, tease) - by mardukL - 2020-04-20, 17:53
RE: S W A N (wip, tease) - by Aaiemron - 2020-04-20, 18:21
RE: S W A N (wip, tease) - by mardukL - 2020-04-21, 07:59
RE: S W A N (wip, tease) - by Aaiemron - 2020-04-21, 10:17
RE: S W A N (wip, tease) - by Butta97 - 2020-04-21, 10:34
RE: S W A N (wip, tease) - by mardukL - 2020-04-21, 11:18
RE: S W A N (wip, tease) - by Butta97 - 2020-04-23, 00:43
RE: S W A N (wip, tease) - by mardukL - 2020-04-22, 15:54
RE: S W A N (wip, tease) - by Aaiemron - 2020-04-22, 16:56
RE: S W A N (wip, tease) - by Aaiemron - 2020-04-22, 19:07
RE: S W A N (wip, tease) - by mardukL - 2020-04-23, 08:23
RE: S W A N (wip, tease) - by Aaiemron - 2020-04-23, 17:41
RE: S W A N (wip, tease) - by Aaiemron - 2020-04-23, 17:55
RE: S W A N (wip, tease) - by sanangel - 2020-04-25, 01:12
RE: S W A N (wip, tease) - by mardukL - 2020-04-25, 10:40
RE: S W A N (wip, tease) - by Aaiemron - 2020-04-25, 15:16
RE: S W A N (wip, tease) - by mardukL - 2020-04-25, 15:59
RE: S W A N (wip, tease) - by Aaiemron - 2020-04-25, 16:15
RE: S W A N (wip, tease) - by Aaiemron - 2020-04-26, 09:20
RE: S W A N (wip, tease) - by mardukL - 2020-04-26, 09:28
RE: S W A N (wip, tease) - by Aaiemron - 2020-04-26, 09:36
RE: S W A N (wip, tease) - by ontap - 2020-04-26, 12:28
RE: S W A N (wip, tease) - by mardukL - 2020-04-28, 12:28
RE: S W A N (wip, tease) - by Rijs43 - 2020-04-28, 19:46
RE: S W A N (wip, tease) - by mardukL - 2020-04-29, 10:01
RE: S W A N (wip, tease) - by Rijs43 - 2020-04-29, 12:17
RE: S W A N (wip, tease) - by mardukL - 2020-04-29, 15:46
RE: S W A N (wip, tease) - by Rijs43 - 2020-04-29, 20:24
RE: S W A N (wip, tease) - by mardukL - 2020-05-01, 17:37
RE: S W A N (wip, tease) - by Edworld - 2020-05-01, 17:46
RE: S W A N (wip, tease) - by mardukL - 2020-05-06, 09:48
RE: S W A N (wip, tease) - by Picard - 2020-05-08, 05:50
RE: S W A N (wip, tease) - by mardukL - 2020-05-08, 06:02
RE: S W A N (wip, tease) - by Picard - 2020-05-08, 06:26
RE: S W A N (wip, tease) - by mardukL - 2020-05-08, 20:05
RE: S W A N (wip, tease) - by Picard - 2020-05-09, 08:10
RE: S W A N (wip, tease) - by zeeya - 2020-05-09, 05:00
RE: S W A N (wip, tease) - by mardukL - 2020-05-10, 01:12
RE: S W A N (wip, tease) - by zeeya - 2020-05-10, 12:14
RE: S W A N (wip, tease) - by Aaiemron - 2020-05-13, 10:33
RE: S W A N (wip, tease) - by mardukL - 2020-05-13, 11:31
RE: S W A N (wip, tease) - by Aaiemron - 2020-05-13, 11:45
RE: S W A N (wip, tease) - by mardukL - 2020-05-13, 15:56
RE: S W A N (wip, tease) - by hacky4real - 2020-05-13, 18:46
RE: S W A N (wip, tease) - by haicaoboi87 - 2020-05-22, 09:28
RE: S W A N (wip, tease) - by Butta97 - 2020-06-02, 07:21
RE: S W A N (wip, tease) - by mardukL - 2020-06-06, 14:09
RE: S W A N (wip, tease) - by THX1138 - 2020-07-25, 10:57
RE: S W A N (wip, tease) - by Aphykit2006 - 2020-08-17, 18:26
RE: S W A N (wip, tease) - by zeroq - 2020-07-29, 11:34
RE: S W A N (wip, tease) - by thewalkernz - 2020-08-24, 12:34
RE: S W A N (wip, tease) - by Aenima99x - 2020-08-27, 00:17
RE: S W A N (wip, tease) - by mardukL - 2020-09-16, 13:16
RE: S W A N (wip, tease) - by Fuchs2468 - 2020-09-16, 20:19
RE: S W A N (wip, tease) - by Aenima99x - 2020-09-17, 16:13
RE: S W A N (wip, tease) - by sanangel - 2020-09-19, 12:31
RE: S W A N (wip, tease) - by Biofx80 - 2020-09-27, 21:23
RE: S W A N (wip, tease) - by Fhdf - 2020-12-15, 15:17
RE: S W A N (wip, tease) - by jdig4240 - 2020-12-15, 21:19
RE: S W A N (wip, tease) - by Fhdf - 2020-12-16, 01:17
RE: S W A N (wip, tease) - by jdig4240 - 2020-12-16, 02:21
RE: S W A N (wip, tease) - by Fhdf - 2020-12-16, 03:26
RE: S W A N (wip, tease) - by mardukL - 2020-12-19, 17:54
RE: S W A N (wip, tease) - by DJCounter - 2020-12-31, 06:49
RE: S W A N (wip, tease) - by mardukL - 2021-01-07, 18:52
RE: S W A N (wip, tease) - by trkselim - 2021-01-07, 21:15
RE: S W A N (wip, tease) - by mardukL - 2021-01-12, 19:42
RE: S W A N (wip, tease) - by mardukL - 2021-01-19, 19:40
RE: S W A N (alpha , updated feb-2021) - by mardukL - 2021-02-09, 21:52


Logout Mark Read Team Forum Stats Members Help
S W A N (alpha , updated march-2021)3
This forum uses Lukasz Tkacz MyBB addons.