Thread Rating:
  • 0 Vote(s) - 0 Average
User inputting of video sources
#1
Hi guy's , I'm new to skinning so this is probably pretty obvious, but I have not been able to find anything on the wiki that seems to be what I am after. Anyway, I can use Skin.SetPath(string) to bring up a file dialog so that the user can specify a location of a directory (to get a script directory location for example). But how would I go about getting the user to specify a named video source?

What I am trying to do is to allow the user to set a default video source to use in file mode.

What I am using at the moment is

<onclick>ActivateWindow(MyVideoFiles,Kids TV)</onclick>

but I would like to generalise the above and replace 'Kids TV' with a user supplied (from a settings menu) source name instead.

how would I go about this?

Thanks for any help
Wyrm
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



User inputting of video sources00