2005-07-17, 15:44
hey!
i'm writing a nifty little script that randomises a index of files in a directory
and then selecting one and load it with xmbc player (random fileplayer). this would be pretty easy if the files were on my xbox harddrive. instead, i have smb mounted a fileserver and i want to get the os.listdir list so i can play them.
but how do i access the smb? i've tried numerous combinations of
smb://computer, \\computer\\my_share etc.
anyone have any suggestions before i do it the hard way?
i'm writing a nifty little script that randomises a index of files in a directory
and then selecting one and load it with xmbc player (random fileplayer). this would be pretty easy if the files were on my xbox harddrive. instead, i have smb mounted a fileserver and i want to get the os.listdir list so i can play them.
but how do i access the smb? i've tried numerous combinations of
smb://computer, \\computer\\my_share etc.
anyone have any suggestions before i do it the hard way?