aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Scanner.py
diff options
context:
space:
mode:
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-08-14 07:35:31 +0000
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-08-14 07:35:31 +0000
commit853a25f5b72ba119899baf8b1b50532e2900cfa9 (patch)
tree7ced4065f6e3a427434bf1d21b5ad851cc82eba7 /lib/python/Components/Scanner.py
parentd9b671360e525ffc2406b4becfb9bf600b07b662 (diff)
downloadenigma2-853a25f5b72ba119899baf8b1b50532e2900cfa9.tar.gz
enigma2-853a25f5b72ba119899baf8b1b50532e2900cfa9.zip
add autoplay detection for .ts movies
Diffstat (limited to 'lib/python/Components/Scanner.py')
-rw-r--r--lib/python/Components/Scanner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Components/Scanner.py b/lib/python/Components/Scanner.py
index 6bd0e3bd..69237bc0 100644
--- a/lib/python/Components/Scanner.py
+++ b/lib/python/Components/Scanner.py
@@ -26,8 +26,10 @@ def getType(file):
return "application/ogg"
elif ext == "dmpkg":
return "application/x-dream-package"
+ elif ext == "ts":
+ return "video/MP2T"
elif ext == "iso":
- return "video/x-dvd-iso"
+ return "video/x-dvd-iso"
elif file[-12:].lower() == "video_ts.ifo":
return "video/x-dvd"
return type