User inputting of video sources - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +--- Thread: User inputting of video sources (/showthread.php?tid=54890) |
User inputting of video sources - wyrm - 2009-07-18 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 |