2006-01-07, 10:42
hello experts,
i have a problem with one script which try to open a mpg via http.
sometimes the http server is not ready to send the information and the xbmc fails to open the file. (normal)
the problem is that the xbmc hungs everytime this happens.
here is the log to be clearer:
23-12-2005 18:09:32 debug item: http://192.168.1.104:8000/dvbcore.mpg
23-12-2005 18:09:32 info loading skin file: dialogprogress.xml
23-12-2005 18:09:32 info mplayer play:http://192.168.1.104:8000/dvbcore.mpg cachesize:2048
23-12-2005 18:09:32 debug initializing fs_seg..
23-12-2005 18:09:32 debug fs segment @ 0x768220
23-12-2005 18:09:33 debug msg: set audio functions called
23-12-2005 18:09:33 debug msg: done
23-12-2005 18:09:33 info flipping bi-directional subtitles disabled
23-12-2005 18:09:33 debug msg:mplayer_init()
23-12-2005 18:09:33 debug msg:enable mplayer osd
23-12-2005 18:09:33 debug msg:mplayer dev-cvs-051007-22:19-3.4.4 © 2000-2004 mplayer team
23-12-2005 18:09:33 debug msg:cpu: intel celeron 2/pentium iii coppermine,geyserville
23-12-2005 18:09:33 debug msgfamily: 6, stepping: 10)
23-12-2005 18:09:33 debug msg:detected cache-line size is 32 bytes
23-12-2005 18:09:33 debug msg:cpuflags: mmx: 1 mmx2: 1 3dnow: 0 3dnow2: 0 sse: 0 sse2: 0
23-12-2005 18:09:33 debug msg:compiled for x86 cpu with extensions:
23-12-2005 18:09:33 debug msg: mmx
23-12-2005 18:09:33 debug msg: mmx2
23-12-2005 18:09:33 debug msg: sse
23-12-2005 18:09:33 debug msg:
23-12-2005 18:09:33 debug msg:
23-12-2005 18:09:33 debug msg:creating config file: q:\system\players\mplayer\config
23-12-2005 18:09:33 debug msg:
23-12-2005 18:09:33 debug msg:88 audio & 199 video codecs
23-12-2005 18:09:33 debug msg:mplayer_open_file(http://192.168.1.104:8000/dvbcore.mpg)
23-12-2005 18:09:33 info stating file http://192.168.1.104:8000/dvbcore.mpg.conf
23-12-2005 18:09:33 info stating file q:\system\players\mplayer\dvbcore.mpg.conf
23-12-2005 18:09:33 debug msg:playing http://192.168.1.104:8000/dvbcore.mpg.
23-12-2005 18:09:33 debug msg:find subtitles
23-12-2005 18:09:33 debug msg:auto open z:\subtitle
23-12-2005 18:09:33 debug msg:protocol:http
23-12-2005 18:09:33 debug msg:open stream protocol:http
23-12-2005 18:09:33 debug msg:connecting to server 192.168.1.104[192.168.1.104]:8000 ...
23-12-2005 18:09:33 debug msg:cache size set to 2048 kbytes
23-12-2005 18:09:33 debug msg:connected to server: 192.168.1.104
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:34 debug msgtream_enable_cache() eof detected
23-12-2005 18:09:34 error cmplayer::openfile() http://192.168.1.104:8000/dvbcore.mpg failed
23-12-2005 18:09:34 debug msg: mplayer_close_file()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
.....
....
..
xbmc hunged!
my question is how can avoid this?
it's possible to check if the information is ready? and then open the mpg.
or it's possible to rise an exception when the first error happens? (23-12-2005 18:09:34 error cmplayer::openfile() http://192.168.1.104:8000/dvbcore.mpg failed)
how can avoid this issue?
thanks to everybody for your help.
best regards,
alfredo.
i have a problem with one script which try to open a mpg via http.
sometimes the http server is not ready to send the information and the xbmc fails to open the file. (normal)
the problem is that the xbmc hungs everytime this happens.
here is the log to be clearer:
23-12-2005 18:09:32 debug item: http://192.168.1.104:8000/dvbcore.mpg
23-12-2005 18:09:32 info loading skin file: dialogprogress.xml
23-12-2005 18:09:32 info mplayer play:http://192.168.1.104:8000/dvbcore.mpg cachesize:2048
23-12-2005 18:09:32 debug initializing fs_seg..
23-12-2005 18:09:32 debug fs segment @ 0x768220
23-12-2005 18:09:33 debug msg: set audio functions called
23-12-2005 18:09:33 debug msg: done
23-12-2005 18:09:33 info flipping bi-directional subtitles disabled
23-12-2005 18:09:33 debug msg:mplayer_init()
23-12-2005 18:09:33 debug msg:enable mplayer osd
23-12-2005 18:09:33 debug msg:mplayer dev-cvs-051007-22:19-3.4.4 © 2000-2004 mplayer team
23-12-2005 18:09:33 debug msg:cpu: intel celeron 2/pentium iii coppermine,geyserville
23-12-2005 18:09:33 debug msgfamily: 6, stepping: 10)
23-12-2005 18:09:33 debug msg:detected cache-line size is 32 bytes
23-12-2005 18:09:33 debug msg:cpuflags: mmx: 1 mmx2: 1 3dnow: 0 3dnow2: 0 sse: 0 sse2: 0
23-12-2005 18:09:33 debug msg:compiled for x86 cpu with extensions:
23-12-2005 18:09:33 debug msg: mmx
23-12-2005 18:09:33 debug msg: mmx2
23-12-2005 18:09:33 debug msg: sse
23-12-2005 18:09:33 debug msg:
23-12-2005 18:09:33 debug msg:
23-12-2005 18:09:33 debug msg:creating config file: q:\system\players\mplayer\config
23-12-2005 18:09:33 debug msg:
23-12-2005 18:09:33 debug msg:88 audio & 199 video codecs
23-12-2005 18:09:33 debug msg:mplayer_open_file(http://192.168.1.104:8000/dvbcore.mpg)
23-12-2005 18:09:33 info stating file http://192.168.1.104:8000/dvbcore.mpg.conf
23-12-2005 18:09:33 info stating file q:\system\players\mplayer\dvbcore.mpg.conf
23-12-2005 18:09:33 debug msg:playing http://192.168.1.104:8000/dvbcore.mpg.
23-12-2005 18:09:33 debug msg:find subtitles
23-12-2005 18:09:33 debug msg:auto open z:\subtitle
23-12-2005 18:09:33 debug msg:protocol:http
23-12-2005 18:09:33 debug msg:open stream protocol:http
23-12-2005 18:09:33 debug msg:connecting to server 192.168.1.104[192.168.1.104]:8000 ...
23-12-2005 18:09:33 debug msg:cache size set to 2048 kbytes
23-12-2005 18:09:33 debug msg:connected to server: 192.168.1.104
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:33 debug msg: cache fill: 0.00% (0 bytes)
23-12-2005 18:09:34 debug msgtream_enable_cache() eof detected
23-12-2005 18:09:34 error cmplayer::openfile() http://192.168.1.104:8000/dvbcore.mpg failed
23-12-2005 18:09:34 debug msg: mplayer_close_file()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:34 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
23-12-2005 18:09:35 error exception in cdlgcache::process()
.....
....
..
xbmc hunged!
my question is how can avoid this?
it's possible to check if the information is ready? and then open the mpg.
or it's possible to rise an exception when the first error happens? (23-12-2005 18:09:34 error cmplayer::openfile() http://192.168.1.104:8000/dvbcore.mpg failed)
how can avoid this issue?
thanks to everybody for your help.
best regards,
alfredo.