470,581 Members | 2,427 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,581 developers. It's quick & easy.

pylirc question: clearing the queue

Hi all,

Is there a way in the pylirc module to either (a) get it to stop
listening for a period of time, or (b) clear the queue of any stored
up commands? I have a script that starts mplayer, and I use my remote
while I'm running mplayer. The shell script waits
(subrpocess.Popen.wait()) for the mplayer process to complete, but
then it always runs through all the keypresses I've been sending
mplayer.

So i would like it to either stop listening until I give it a certain
command, or to simply clear the queue (I could tell it to that after I
return from wait()). Any ideas?

Thanks,
Jesse
Apr 7 '08 #1
0 927

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Jason Evans | last post: by
2 posts views Thread by Rolf Wester | last post: by
4 posts views Thread by spinner | last post: by
18 posts views Thread by Nick Z. | last post: by
5 posts views Thread by ma740988 | last post: by
6 posts views Thread by fniles | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.