Closed cyberic99 closed 5 years ago
Use a player
with a short block length in a loop. Then you can interrupt it whenever you feel like it (at every block boundary).
Ha yes you're right, all the needed functions were already there, tanks!
By the way, what is the use of this line?
Good catch! That line seems to be unused! It's probably a remnant of an earlier version that I forgot to clean up. In fact, line 202, which declares this function, seems to be redundant as well.
Would you like to create a pull request that removes these lines?
Here is the pull request:
Thank you very much for your help!
Hi
I'd like to be able to interrupt a play() at any time. I have a dirty hack to do it, but would you be interested in having this feature, @bastibe?
The idea is just to break the while loop, when a specific flag is set.
Thx