From: Paul Brossier Date: Sun, 2 Feb 2014 15:50:37 +0000 (-0300) Subject: timeside/api.py: add IDecoder.mime_type X-Git-Tag: 0.5.3~1^2~3 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=364f00a28a6de73bdd6bdd9d63e7e1284943e9b1;p=timeside.git timeside/api.py: add IDecoder.mime_type --- diff --git a/timeside/api.py b/timeside/api.py index b6eeb78..b214023 100644 --- a/timeside/api.py +++ b/timeside/api.py @@ -170,6 +170,9 @@ class IDecoder(IProcessor): def metadata(self): """Return the metadata embedded into the encoded stream, if any.""" + def mime_type(): + """Return the mime type corresponding to this decoded format""" + class IGrapher(IProcessor): """Media item visualizer driver interface"""