|
|
@@ -110,8 +110,16 @@ root.putChild('content', content) |
|
|
|
# Purely to ensure some sane mime-types. On MacOSX I need these. |
|
|
|
medianode = static.File('pymediaserv') |
|
|
|
medianode.contentTypes.update( { |
|
|
|
'.wmv': 'video/x-ms-wmv', |
|
|
|
# From: http://support.microsoft.com/kb/288102 |
|
|
|
'.asf': 'video/x-ms-asf', |
|
|
|
'.asx': 'video/x-ms-asf', |
|
|
|
'.wma': 'audio/x-ms-wma', |
|
|
|
'.wax': 'audio/x-ms-wax', |
|
|
|
'.wmv': 'video/x-ms-wmv', |
|
|
|
'.wvx': 'video/x-ms-wvx', |
|
|
|
'.wm': 'video/x-ms-wm', |
|
|
|
'.wmx': 'video/x-ms-wmx', |
|
|
|
|
|
|
|
#'.ts': 'video/mp2t', |
|
|
|
'.ts': 'video/mpeg', # we may want this instead of mp2t |
|
|
|
'.m2t': 'video/mpeg', |
|
|
|