Home shorycut to samba share
#1
i want to know if it is possible do a shortcut to folder in samba net.
i have seen that there is a new funtion in xboxmediacenter.xml that u can add news buttons. i have seen that u can do buttons to scripts (xbmc.runscript) and xbe's (xbmc.runxbe). but my questions is that there are any funtion for link a samba folder.
thanks a lot
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
#2
not currently.

all the current supported functions are in cutil::execbuiltin()

the problem with what you are trying to do, is it involves 2 steps:

1. activate the appropriate window (my videos for instance)

2. go to the appropriate directory within this window.

i'm not sure the best way to implement this into the current system. feel free to come up with ideas (and implement the code!Wink

one idea could be:

xbmc.videofolder(smb://mysmbshare)

which does the 2 step process as defined above. there'd have to be a method added to the video window class (cguiwindowvideofiles) to set the current directory, but otherwise should be reasonably straightforward to do.

cheers,
jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image

Logout Mark Read Team Forum Stats Members Help
Home shorycut to samba share0