[MPlayer-users] slave interface command requests

Joey Parrish joey.parrish at gmail.com
Sat Oct 13 19:21:48 CEST 2007


On 10/13/07, Kevin DeKorte <kdekorte at gmail.com> wrote:
> Also, with the slave interface it would be extreamly useful to have a
> command in -idle mode that I could use to ask mplayer if it has
> completed the file. For example if I load a file in mplayer and then it
> plays and completes and then I ask for 'get_percent_pos' it gives no
> output back (when you are using threads to manage the write/read to the
> slave interface, having a one request/one result type of interface is
> very useful) even a result where it says -1 or even another command that
> I could ask mplayer how many items are in the playlist and it would
> return 0 would be very useful.

I patch MPlayer to spit out "NEED FILE" when it enters the idle loop.
For my project, that is good enough.  And the patch is trivial.

--Joey



More information about the MPlayer-users mailing list