projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add autoplay detection for .ts movies
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
Scanner.py
diff --git
a/lib/python/Components/Scanner.py
b/lib/python/Components/Scanner.py
index
6bd0e3b
..
69237bc
100644
(file)
--- 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"
return "application/ogg"
elif ext == "dmpkg":
return "application/x-dream-package"
+ elif ext == "ts":
+ return "video/MP2T"
elif ext == "iso":
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
elif file[-12:].lower() == "video_ts.ifo":
return "video/x-dvd"
return type