From 364f00a28a6de73bdd6bdd9d63e7e1284943e9b1 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 2 Feb 2014 12:50:37 -0300 Subject: [PATCH] timeside/api.py: add IDecoder.mime_type --- timeside/api.py | 3 +++ 1 file changed, 3 insertions(+) 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""" -- 2.39.5