Hi, I would like to know how can i be informed that the media has finished playing when controlling Mplayer in slave mode with a pipe. I open Mplayer with this command : m_pFilePipe = popen("/usr/bin/mplayer -quiet -slave myMovie.avi" , "w"); Regards SCe