Python Scripting: Play / PlayLooped cannot be stopped

Steve Fiddle <[email protected]>
Newsgroups gmane.comp.audio.audacity.devel
Message-ID <CABp83eAQwGCJLaqk7VoJKfRas8AWd5-behyn2mHA72jsGFus9A@mail.gmail.com>
In Audacity 3.0.0, it is impossible for Python to stop playback once
started. This is a fatal regression for interactive Python scripting where
the play time may be unknown when initiating playback (such as the "Blender
Helper" which I posted about recently).

I can see that having the progress dialog for playback can be useful for
Macros, but it is a show stopper to not have a play stopper in some more
complex mod-script-pipe use.

Perhaps the solution is to have a flag in the Play / PlayLooped command to
select whether it runs with a progress bar or "interactive mode"?
Play: Interactive=<bool>
PlayLooped: Interactive=<bool>

Steve

_______________________________________________
audacity-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.