help with wx.media.EVT_MEDIA_FINISHED

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

help with wx.media.EVT_MEDIA_FINISHED

pythonist12
Hello.
I need your help with this
I'm trying to controling a playback with wx.media
everything is ok but when I tryed to use wx.media.EVT_MEDIA_FINISH  to reset the playPauseBtn label to "Play"
after the playback finished playing, so I can replay the playback it don't work .
and how can I make and controling a playlist
Any help please .

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

test.py (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: help with wx.media.EVT_MEDIA_FINISHED

GadgetSteve


On 04/06/2017 15:50, [hidden email] wrote:

> Hello.
> I need your help with this
> I'm trying to controling a playback with wx.media
> everything is ok but when I tryed to use wx.media.EVT_MEDIA_FINISH  to
> reset the playPauseBtn label to "Play"
> after the playback finished playing, so I can replay the playback it
> don't work .
> and how can I make and controling a playlist
> Any help please .
>
> --
> You received this message because you are subscribed to the Google
> Groups "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [hidden email]
> <mailto:[hidden email]>.
> For more options, visit https://groups.google.com/d/optout.

Hi,

Which versions of wxPython and Python are you using and under which
operating system?

Might make answering easier.

--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: help with wx.media.EVT_MEDIA_FINISHED

GadgetSteve


On 04/06/2017 16:38, Steve Barnes wrote:

>
>
> On 04/06/2017 15:50, [hidden email] wrote:
>> Hello.
>> I need your help with this
>> I'm trying to controling a playback with wx.media
>> everything is ok but when I tryed to use wx.media.EVT_MEDIA_FINISH  to
>> reset the playPauseBtn label to "Play"
>> after the playback finished playing, so I can replay the playback it
>> don't work .
>> and how can I make and controling a playlist
>> Any help please .
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "wxPython-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to [hidden email]
>> <mailto:[hidden email]>.
>> For more options, visit https://groups.google.com/d/optout.
>
> Hi,
>
> Which versions of wxPython and Python are you using and under which
> operating system?
>
> Might make answering easier.
>

http://trac.wxwidgets.org/ticket/10957 looks relevant.
--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: help with wx.media.EVT_MEDIA_FINISHED

pythonist12
I'm using python 2.7 and wx 3.0.2.0on windows 8.1 64 bit


بتاريخ الأحد، 4 يونيو، 2017 6:42:00 م UTC+1، كتب Gadget Steve:


On 04/06/2017 16:38, Steve Barnes wrote:

>
>
> On 04/06/2017 15:50, <a href="javascript:" target="_blank" gdf-obfuscated-mailto="z4pfj4icBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">pytho...@... wrote:
>> Hello.
>> I need your help with this
>> I'm trying to controling a playback with wx.media
>> everything is ok but when I tryed to use wx.media.EVT_MEDIA_FINISH  to
>> reset the playPauseBtn label to "Play"
>> after the playback finished playing, so I can replay the playback it
>> don't work .
>> and how can I make and controling a playlist
>> Any help please .
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "wxPython-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="z4pfj4icBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">wxpython-user...@googlegroups.com
>> <mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="z4pfj4icBAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">wxpython-users+unsubscribe@...>.
>> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>
> Hi,
>
> Which versions of wxPython and Python are you using and under which
> operating system?
>
> Might make answering easier.
>

<a href="http://trac.wxwidgets.org/ticket/10957" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Ftrac.wxwidgets.org%2Fticket%2F10957\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHGU0Nk1-pqWDkRGTsaz79aLG-2JA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Ftrac.wxwidgets.org%2Fticket%2F10957\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHGU0Nk1-pqWDkRGTsaz79aLG-2JA&#39;;return true;">http://trac.wxwidgets.org/ticket/10957 looks relevant.
--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: help with wx.media.EVT_MEDIA_FINISHED

pythonist12
Please anyone can help.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: help with wx.media.EVT_MEDIA_FINISHED

Patrick Maher
I had the same problem and I solved it by using EVT_MEDIA_STOP instead of EVT_MEDIA_FINISHED.

Patrick

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.