2006-05-05, 23:29
hi all,
i'm not good in scripting, i just want to tweak dreambox.tv script to be more faster, but as far as i can understand, xbmc.player().play(url) it's too slow to process in case of http streams, because i see in logs that xbmc consider the url a playlist and not simply a file to open:
0:50:26 m: 27844608 info: loading web playlist http://root:[email protected]:31339/200,28a
00:50:26 m: 27844608 info: get header url: http://root:[email protected]:31339/200,28a
00:50:29 m: 27807744 error: invalid reply from server
00:50:29 m: 27865088 notice: url http://root:[email protected]:31339/200,28a not found
i don't know how to skip this, because xbmc.player have not so many possibilities
after that:
00:50:29 m: 27844608 debug: cplayercorefactor::getplayers(http://root:[email protected]:31339/200,28a)
this i already skipped forcing the use of mplayer with xbmc.player(xbmc.player_core_mplayer).
my question: is there a way in python script to start directly mplayer?
i mean, i just want this to happen directly:
00:50:33 m: 26714112 info: mplayer play:http://root:[email protected]:31339/200,28a cachesize:2048
thanks for any advice, and excuse my poor techical language.
i'm not good in scripting, i just want to tweak dreambox.tv script to be more faster, but as far as i can understand, xbmc.player().play(url) it's too slow to process in case of http streams, because i see in logs that xbmc consider the url a playlist and not simply a file to open:
0:50:26 m: 27844608 info: loading web playlist http://root:[email protected]:31339/200,28a
00:50:26 m: 27844608 info: get header url: http://root:[email protected]:31339/200,28a
00:50:29 m: 27807744 error: invalid reply from server
00:50:29 m: 27865088 notice: url http://root:[email protected]:31339/200,28a not found
i don't know how to skip this, because xbmc.player have not so many possibilities
after that:
00:50:29 m: 27844608 debug: cplayercorefactor::getplayers(http://root:[email protected]:31339/200,28a)
this i already skipped forcing the use of mplayer with xbmc.player(xbmc.player_core_mplayer).
my question: is there a way in python script to start directly mplayer?
i mean, i just want this to happen directly:
00:50:33 m: 26714112 info: mplayer play:http://root:[email protected]:31339/200,28a cachesize:2048
thanks for any advice, and excuse my poor techical language.