Question: do we have network access yet?
#1
hi all. been away for a while, but watching the chatter from time to time, and i noticed that the seektime function has been implemented, which allows me to make some major progress on one of the last scripts i was developing.

the other major setback i encountered there was trying to play video files from a pc hdd on the network. while xbmc can access networked media files just fine (obviously), i had no way to access them from python.

anyone know if that's been fixed? i had a standing request for it back in the day (last fall), but a quick search showed no mention of it.
For scripts, script development tools, and documentation, visit my website:
http://www.maskedfox.com/xbmc/
Reply
#2
i think you can send an smb path to xbmc.player.play() but you will still need the python smb library to be able to browse the smb share. i think that some script out there does this but can't really remember what...
Reply
#3
hi.

thanks for the tutorial :d

i make a very small test some time ago (only a test not implement yet in a script ), play of file from the network is ok:

xbmc.player().play("xns://192.168.1.2:1400/divx/1.avi")

(2005-04-01 cvs build)
Reply
#4
awesome! thanks much. ack. now i have to find time to work on an xbmc script again....
For scripts, script development tools, and documentation, visit my website:
http://www.maskedfox.com/xbmc/
Reply
#5
i don't try yet with smb...

i note that xns must be in uppercase...
Reply
#6
i made a script using the smb library,script playlistwalker.
http://home.no.net/thor918/xbmc/
the only thing is that the lib will never return over 30 files+directories.
other than that it works perfect
i sure wish that someone could copy the source from httpapi module so we could have getdirectory command in phyton!
Reply

Logout Mark Read Team Forum Stats Members Help
Question: do we have network access yet?0