MplayerCtrl and Mplayer2

Issue #6 resolved
Daniel Sanchez created an issue

Hello

I recently wanted to try the MplayerCtrl with mplayer2. I had no problems in Linux, but Windows had problems. I thought it was a bug mplayer2. -> http://devel.mplayer2.org/ticket/127

But it is an inconvenience that can be solved in MplayerCtrl.

thx :)

Comments (6)

  1. David repo owner

    I don't know how to fix it, it in the ticket is said: "Video will continue playing if you terminate commands with a newline.". The commands are already terminated by a newline. You can try to add after line 957:

            self._stdin.write(stostdin) # line 957
            self._stdin.flush() # line 958
        def _clean_up_signal(self, signum, frame): # line 959
    

    The problem is I can't test on Windows 7.

  2. Daniel Sanchez reporter

    lol

    "Video will continue playing if you terminate commands with a newline.", refers to a simple... \n

         self._stdin.write(stostdin+'\n') # line 957
    

    Work in Windows7, for Mplayer and Mplayer2. (Linux do not know)

  3. Log in to comment