PDA

View Full Version : Have Player Pause Instead of Stop When It reaches EOF.


hattmall
2008-12-16, 16:37
Is there anyway to have the player pause the playing file (so more can be downloaded) once it reaches an EOF instead of closing the file.
Or on a seek failed or for whatever reason.

Im looking at this bit of log.


05:16:13 M: 23871488 DEBUG: msg: Seek failed
05:16:13 M: 23871488 DEBUG: msg: cache_stream_seek: WARNING! Can't seek to 0xFFFFFFFFAB3A9124 !
05:16:13 M: 23871488 DEBUG: msg: ds_fill_buffer: EOF reached (stream: video)
05:16:13 M: 23822336 DEBUG: msg: mplayer_close_file()
05:16:13 M: 23818240 DEBUG: msg:
05:16:13 M: 23814144 DEBUG: msg: uninit_player


Is there any way to have a script waiting for one of these events to happen and then instead of closing, pause it. It will be up to the user to press play again. (Most likely)

Thanks