aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/Scanner.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Components/Scanner.py b/lib/python/Components/Scanner.py
index 94c9cc2f..6bd0e3bd 100644
--- a/lib/python/Components/Scanner.py
+++ b/lib/python/Components/Scanner.py
@@ -26,6 +26,10 @@ def getType(file):
return "application/ogg"
elif ext == "dmpkg":
return "application/x-dream-package"
+ elif ext == "iso":
+ return "video/x-dvd-iso"
+ elif file[-12:].lower() == "video_ts.ifo":
+ return "video/x-dvd"
return type
class Scanner: