![]() |
Q: How do I start a video stream - 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: Q: How do I start a video stream (/showthread.php?tid=4139) |
- Alpha7959 - 2004-06-14 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 |