aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Scanner.py
diff options
context:
space:
mode:
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-10-03 20:52:50 +0000
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-10-03 20:52:50 +0000
commitf51d97f3ee2b0121ffe1fe789ca58c089408b980 (patch)
tree4e1f76c406e65ec479fd0daf47af47a2ae7a97ad /lib/python/Components/Scanner.py
parentb6c21aa27e2a782996c625bc6e85a466bd7c9932 (diff)
downloadenigma2-f51d97f3ee2b0121ffe1fe789ca58c089408b980.tar.gz
enigma2-f51d97f3ee2b0121ffe1fe789ca58c089408b980.zip
Allow playback of VCD (Video CD) and SVCD
Diffstat (limited to 'lib/python/Components/Scanner.py')
-rw-r--r--lib/python/Components/Scanner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Components/Scanner.py b/lib/python/Components/Scanner.py
index f7e307b7..c217aa5c 100644
--- a/lib/python/Components/Scanner.py
+++ b/lib/python/Components/Scanner.py
@@ -32,6 +32,8 @@ def getType(file):
return "video/x-dvd-iso"
elif file[-12:].lower() == "video_ts.ifo":
return "video/x-dvd"
+ elif ext == "dat" and file[-11:-6].lower() == "avseq":
+ return "video/x-vcd"
return type
class Scanner: