Reading ogg123 output with popen3

O

oziko

Hi, I am trying to read ogg123's output with popen3:

stin, sto, ste = os.popen3('ogg123 music.ogg')
out=sto.readlines()

The problem is I can not get any text from the output when I read
ogg123's stdout, instead I can read some text from stderr with:

out2=ste.readlines()

Another problem is, qhen I read stderr, ogg123 breaks and I just get a
little part og the output.

So, my question is. What is the best form to get ogg123's output, so I
can use it in an UI, to make a progress bas for example?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top