Issue #11 on hold

Something wrong with Quit() method

Anonymous created an issue

when i do a lot of Quit() and Start() I get this message:



Traceback (most recent call last): File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\", line 1466 9, in <lambda> lambda event: event.callable(event.args, * ) File "F:\job_svn\Personal Folder\Huangjiecheng\Showroom_Server\ ", line 87, in play_audio res = self.mplayer.Quit() File "C:\Python27\lib\site-packages\", line 1245, in Quit self._process.kill() File "C:\Python27\lib\", line 1001, in terminate _subprocess.TerminateProcess(self._handle, 1) WindowsError: [Error 5] }}}

I am doing this in wondows 7 + python 2.7 + mplayerctrl 0.3.3

Comments (3)

  1. David repo owner

    Is this the complete traceback? Seems like there is missing something, like (`WindowsError: [Error 5] Access Denied`.

    Furthermore you shouldn't Start and Stop it the whole time, you can add more songs to the internal mplayer playlist, or just start a new one, when EVT_MEDIA_FINISHED is raised.

  2. Log in to comment