Play Video With Python - Failed
#1
I keep getting a failed error when trying to load this video, why?

file = 'q:\\scripts\\startupvideo.avi'
xbmc.player().play(file)
xbmc.executebuiltin('xbmc.activatewindow(0)')
Reply
#2
if you are running a newer version of xbmc, then you need to use special:// paths..

In your example it would be special://xbmc/scripts/startupvideo.avi

see more in this blogpost: http://xbmc.org/jmarshall/2009/02/10/cha...d-plugins/
Reply
#3
That dosn't seem to work either. I read though that page but I'm still not getting any results
Reply

Logout Mark Read Team Forum Stats Members Help
Play Video With Python - Failed0