summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Ajanki <antti.ajanki@iki.fi>2012-01-29 15:19:43 +0200
committerAntti Ajanki <antti.ajanki@iki.fi>2012-01-29 15:19:43 +0200
commit248133c7fe8397ae94533e1f2ec750d40c48d11c (patch)
tree740493a598c937e73a41c3f0bc5a9a0378bd19f3
parent26c09a97c07cc2d3d878136dfbfe5b20ac8dcca3 (diff)
downloadvdr-plugin-webvideo-248133c7fe8397ae94533e1f2ec750d40c48d11c.tar.gz
vdr-plugin-webvideo-248133c7fe8397ae94533e1f2ec750d40c48d11c.tar.bz2
Add video/webm MIME type
-rw-r--r--src/webvicli/webvicli/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webvicli/webvicli/client.py b/src/webvicli/webvicli/client.py
index b7b65f1..f6ae3e9 100644
--- a/src/webvicli/webvicli/client.py
+++ b/src/webvicli/webvicli/client.py
@@ -50,6 +50,7 @@ DEFAULT_PLAYERS = ['mplayer -cache-min 10 "%s"',
mimetypes.init()
mimetypes.add_type('video/flv', '.flv')
mimetypes.add_type('video/x-flv', '.flv')
+mimetypes.add_type('video/webm', '.webm')
def safe_filename(name, vfat):
"""Sanitize a filename. If vfat is False, replace '/' with '_', if