On 11/6/09 8:08 PM, Roan Kattouw wrote:
2009/11/6 Beau<beau(a)adres.pl>pl>:
Hi.
Is there an API module which provides metadata for ogg files? I need to
check the length of sound files.
http://commons.wikimedia.org/w/api.php?action=query&titles=File:Albania…
We should probably make the media duration available directly through
imageinfo so folks aren't tied to Ogg metadata; other multimedia
container formats exist too! :)
This is available from the File object as getLength().
-- brion