2004-02-12, 12:36
hi,
in the last days playd a bit with python and it works really fine. but one thing i couldn´t get work, was to play an mediafile over an samba share.
is it possible to acces samba-shares with python?
i tried this(from the example scrpit):
in xbmc samba is working great, bit with python i did not get it work.
scooba77
in the last days playd a bit with python and it works really fine. but one thing i couldn´t get work, was to play an mediafile over an samba share.
is it possible to acces samba-shares with python?
i tried this(from the example scrpit):
Quote:import xbmc, xbmcgui, nt
dir = 'smb:\\user:[email protected]\video\'
list = nt.listdir(dir)
dialog = xbmcgui.dialog()
selected = dialog.select('select a song to play, no directory!!!', list)
filename = list[selected]
xbmc.mediaplay(dir + filename)
in xbmc samba is working great, bit with python i did not get it work.
scooba77