Kodi Community Forum
is it possible to play movies from python? - 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: is it possible to play movies from python? (/showthread.php?tid=5736)



- nianhbg - 2004-09-09

hi

i wonder if it´s possible to start a movie from python that resides on a smb share

and second question is if it possible to make imdb search with python script


- wabidwoveren - 2004-09-11

just use xbmc, no need to do it in python


- solexalex - 2004-09-14

it can be useful !
try this :
xbmc.player().play(url)

i used this with url=something like q:\directory\file.strm (for a stream)

but you can try to replace url with something like : http://ipadressof your pc/filename.avi

tell us more !
see ya !


- nianhbg - 2004-09-15

(solexalex @ sep. 14 2004,22:48 Wrote:it can be useful !
try this :
xbmc.player().play(url)

i used this with url=something like q:\directory\file.strm (for a stream)

but you can try to replace url with something like : http://ipadressof your pc/filename.avi

tell us more !
see ya !
thanks for the answer i will try that.

i'm making database directory for my xvid movies on my server. and i trying to write a python script to read my xml file.


- Alexpoet - 2004-09-15

awesome! sounds like a very cool project. let us know how it goes.