updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / coherence-svn / samsung.patch
blob06c76576da8d1d301a0db55f21844cb63c2b82ba
1 +++ coherence/upnp/core/DIDLLite.py 2010-10-24 16:09:53.218250816 -0700
2 @@ -190,6 +190,10 @@
3 additional_info = ['*']
4 if content_format == 'video/x-ms-wmv':
5 additional_info = ['DLNA.ORG_PN=WMV_BASE']+simple_dlna_tags
6 + if content_format in ['video/avi', 'video/divx']:
7 + additional_info = ['DLNA.ORG_PN=AVI']+simple_dlna_tags
8 + if content_format == 'video/quicktime':
9 + additional_info = ['DLNA.ORG_PN=QUICKTIME']+simple_dlna_tags
10 if content_format == '*':
11 additional_info = simple_dlna_tags
13 +++ coherence/backends/fs_storage.py 2010-10-21 21:55:10.814224348 -0700
14 @@ -24,7 +24,7 @@
15 mimetypes.add_type('video/mpegts', '.ts')
16 mimetypes.add_type('video/divx', '.divx')
17 mimetypes.add_type('video/divx', '.avi')
18 -mimetypes.add_type('video/x-matroska', '.mkv')
19 +mimetypes.add_type('video/mpeg', '.mkv')
21 from urlparse import urlsplit