Question: do we have network access yet? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Question: do we have network access yet? (/showthread.php?tid=11502) |
- Alexpoet - 2005-04-18 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. - Asteron - 2005-04-18 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... - sambarza - 2005-04-18 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) - Alexpoet - 2005-04-18 awesome! thanks much. ack. now i have to find time to work on an xbmc script again.... - sambarza - 2005-04-18 i don't try yet with smb... i note that xns must be in uppercase... - thor918 - 2005-04-18 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! |