•   
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 11
  •   
Release script.toolbox
#91
second one.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#92
Many thanks. This is going to save me a hell of a lot of time coding my customisable home widgets.
Reply
#93
You´re welcome. If you have any other wishes / ideas let me know, my job here is to try to make life for skinners a bit easier Smile
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#94
The only other thing I can think of is this request from sualfred so users can set any custom node/path instead of just playlists.

(2015-03-16, 11:50)sualfred Wrote: Phil65:

For some use cases, it could be useful to have an script to select an node of an treeview for dynamic lists to set the <content>...</content> value.

The skinshortcuts script does it perfectly for adding a new menu item with its dialog to select an category, an addon, and an subdir of the addon for example.
A lite version of this with just fetching the correct path of a node and storing them somewhere (skin setting value, property) would be awesome and we could offer dynamic customs widgets with nearly no limitations.

Maybe... u want to include something like that to your toolbox. It would fit perfectly there.
(2015-03-16, 12:29)sualfred Wrote: Example use case:

## Dynamic custom widget container
PHP Code:
<control type="list" id="50">
 .....
<
itemlayout width="250" height="29">
      ......
<
focusedlayout height="29" width="250">
      ......
</
focusedlayout>
<
content>%TOOLBOX CONTENT SOURCE%</content>
</
control

The user wants to fill the content of the widget with an subdir of an addon.
Example -> Advanced Launcher -> Category "Emulators" (plugin://plugin.program.advanced.launcher/?0df67ef8b67741f86ad5962f58f5bdc5)

A common user doesn't know the correct path and this is where toolbox kicks in and opens an dialog to select the path he wants to have as content for the widget list.

In skinshortcuts the dialog looks like this:
Image

Image


Example skin implementation:
SkinSettings -> <onclick>RunScript(script.toolbox,type=nodeselector&amp;skinstring=CustomDynamicList1)</onclick>
Content List -> <content>$INFO[Skin.String(CustomDynamicList1)]</content>
Reply
#95
ok. Could you put that on the github issues list so I dont have to keep track of forum posts?
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#96
Sure, thanks again.
Reply
#97
@hitcher:
FYI and if you didn't noticed it yet, script.favourites supports this by extracting the path of a favourite. U could use this in the meantime. Works well.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#98
Thanks, I did try using the skin shortcuts script to just select the shortcut but that of course adds the ActivateWindow tags which I don't want for content.

EDIT: Works perfectly for what I need right now.
Reply
#99
btw did you guys try "Skin.SetPath(NAME_OF_STRING,addons://sources/video/)" or something similar?
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
@phil65, if you need any help; For some of the requests here I already did some coding in my skin's helper script, so I can share this with you for the toolbox script in order to other skinners can benefit from it if you want.

Looking at the request to provide the content's path to set a widget. This might be something to be added to the skinshortcuts scripts ?
Most of the code is already in there, I think it's an easy change and can add it in if you want. That way you can provide both your own defined widgets from skinshortcuts or let the user choose from a library path/location.
Reply
PR´s are always welcome ofc. Wink

As I said, I think "Skin.SetPath()" could to the trick already.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
phil65,

The designer of a side project that I am working on has asked if I can provide a circular progress type indicator to show items like "number of watched movies out of total movies in library". While providing the require info in a circular manner will be a PITA, I think I have that side covered. What I don't have is a way to get a percentage of two $INFO's to feed to my code to make this happen.

How do you feel about the idea of a function that is fed two $INFO's and returns a skin string or window.property with the percentage of one $INFO from the other?

Wyrm (AppTV)
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
would be possible. Something like script.toolbox(info=getpercentage,string=NAME_OF_STRING,total=TOTAL_AMOUNT,part=PART_AMOUNT)?
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
Percentages would be great for me too. Wink
Reply
(2015-05-22, 06:58)phil65 Wrote: would be possible. Something like script.toolbox(info=getpercentage,string=NAME_OF_STRING,total=TOTAL_AMOUNT,part=PART_AMOUNT)?

Phil65,

That would be perfect. Look forward to seeing the result.

Thanks mate
Wyrm (AppTV)
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply
  •   
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 11
  •   



Logout Mark Read Team Forum Stats Members Help
script.toolbox2
This forum uses Lukasz Tkacz MyBB addons.