Q: How do I start a video stream
#1
hi,

i am trying to start a video stream via script and can't get it to work. maybe somebody here can help. out of other posts i found how to do it for audio playlists. in theory it should be similar for video. here the code i have tried:
   pls = xbmc.playlist(2)
   streamfile = 'f:\\filename.strm'
   pls.add(streamfile)
   print 'executetagesschau: playing ' + streamfile
   xbmc.player().play(pls)

i can manually start the file, but if i try it from the script i get the follwing error:
13-06-2004 21:58:28 mplayer play:f:\filename.strm cachesize:1024
13-06-2004 21:58:29 flipping bi-directional subtitles disabled
13-06-2004 21:58:29 stating file f:\filename.strm.conf
13-06-2004 21:58:29 stating file q:\mplayer\filename.strm.conf
13-06-2004 21:58:29 cmplayer::openfile() f:\filename.strm failed

anybody an idea what to try?

    alpha7959
Reply

Logout Mark Read Team Forum Stats Members Help
Q: How do I start a video stream0