Option "Wait for completion" in action "Play Sound" works not properly.
I found alternative solution:
Instead action "Play Sound" I use action "System: Start Application".
I found four audio-players, which they have "auto-close" switch in command line:
1by1 (http://mpesch3.de1.cc/1by1.html)
AudioPlayer (http://audioplayer.sourceforge.net/)
Wv_player (http://www.webxpace.net/cgi-bin/countdo ... v_play.zip)
yPlay (http://www.spacejock.com/)
Every one works perfectly.
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
"Wait for completion" in PlaySound and long clips
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
For example this file: http://data2.edisk.cz/stahni/15231/wav9 ... .85MB.html
Tip: "STAHNOUT SOUBOR" = download.
Normal duration = 94 seconds.
Eventghost plays only cca 44 seconds.
I have also others examples.
Tip: "STAHNOUT SOUBOR" = download.
Normal duration = 94 seconds.
Eventghost plays only cca 44 seconds.
I have also others examples.
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Confirmed.
This happens only for long WAVs, as the underlying wxPython function is only meant for short clips (such long clips seldom make sense with "wait for completion"). But since the action is also very limited because it can only play WAVs and not MP3 or other formats, I put this on the ToDo list. There are other DirectShow based functions in wxPython which might be better.
This happens only for long WAVs, as the underlying wxPython function is only meant for short clips (such long clips seldom make sense with "wait for completion"). But since the action is also very limited because it can only play WAVs and not MP3 or other formats, I put this on the ToDo list. There are other DirectShow based functions in wxPython which might be better.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
I did some tests with alternative implementations and concluded, that a change is not worth the effort. As said before, playing such long clips with "wait for completion" seldom makes any sense. The action is only meant to play a short audio notice.
So I move this thread out of the bug-reports forum, as I regard it at most as a limited feature, but not a bug anymore.
So I move this thread out of the bug-reports forum, as I regard it at most as a limited feature, but not a bug anymore.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!



