git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix dvd hotplug: stop assuming dvd for every other medium. in case of multiple ISO...
[enigma2.git]
/
lib
/
python
/
Components
/
Scanner.py
diff --git
a/lib/python/Components/Scanner.py
b/lib/python/Components/Scanner.py
index 94c9cc2fa3db55b604470b7eb04a7aeec0034101..6bd0e3bddc4b970c21ff7f8912580522439a8897 100644
(file)
--- 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: