Yes, just as in the earlier posting, I am going into a while loop in which I
check getLength() every second. It always returns -1. Here's the program
that I lifted from the posting by Cesar Gonzalez:
import time
import pymedia
player=pymedia.Player()
player.start()
player.startPlayback('NTV001.ogg')
while player.isPlaying():
time.sleep(1)
print player.getPosition()
print player.getLength()
--
Jeffrey Barish
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users