Length in seconds of OGG/MP3

D

Dylan Parry

Hi,

I am entirely new to Python, in fact I've only been using it for two days,
but so far I have progressed quite well :) Anyway, the problem I have is
that I want to find the play length of an Ogg or Mp3 (it could be either).

I already have a command line utility that returns the current position in
the file (number of seconds that have played) and the same utility also
returns the path of the file that is playing, but for some reason it has
no interface for telling me how long the file is!

Can this be done in Python?
 

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

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,043
Members
48,769
Latest member
Clifft

Latest Threads

Top