/[smecontribs]/rpms/smeserver-mediatomb/contribs9/smeserver-mediatomb-1.0-bz10718.mime-type.patch
ViewVC logotype

Contents of /rpms/smeserver-mediatomb/contribs9/smeserver-mediatomb-1.0-bz10718.mime-type.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Jan 25 01:42:06 2019 UTC (5 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mediatomb-1_0-13_el6_sme, HEAD
* Thu Jan 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-13.sme
- add better mime type support  [SME: 10718]
- add inotify-requirement and support for root dir default timed mode [SME: 10713]

1 diff -Nur smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/30extensionMimetype smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/30extensionMimetype
2 --- smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/30extensionMimetype 2018-03-19 00:34:42.000000000 -0400
3 +++ smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/30extensionMimetype 2019-01-24 20:23:13.296000000 -0500
4 @@ -17,10 +17,27 @@
5 <map from="m3u" to="audio/x-mpegurl"/>
6 <map from="pls" to="audio/x-scpls"/>
7 <map from="flv" to="video/x-flv"/>
8 + <!-- two follow for better samsung support instead of 2 after? -->
9 + <!-- <map from="avi" to="video/mpeg"/> -->
10 + <!-- <map from="mkv" to="video/mpeg"/> -->
11 <map from="mkv" to="video/x-matroska"/>
12 <map from="mka" to="audio/x-matroska"/>
13 - <!-- Uncomment the line below for PS3 divx support -->
14 + <!-- Uncomment the line below for PS3 divx support instead of the one after-->
15 <!-- <map from="avi" to="video/divx"/> -->
16 - <!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
17 - <!-- <map from="avi" to="video/avi"/> -->
18 + <map from="avi" to="video/avi"/>
19 + <map from="divx" to="video/avi"/>
20 + <map from="mpg" to="video/mpeg"/>
21 + <map from="mp4" to="video/mpeg"/>
22 + <map from="mpeg" to="video/mpeg"/>
23 + <map from="ts" to="video/mpeg"/>
24 + <map from="m2ts" to="video/mpeg"/>
25 + <map from="vob" to="video/mpeg"/>
26 + <map from="VOB" to="vidoe/mpeg"/>
27 + <map from="m2v" to="video/mpeg"/>
28 + <map from="m4v" to="video/mp4"/>
29 + <!-- List images so they get imported -->
30 + <map from="jpg" to="image/jpeg" />
31 + <map from="jpeg" to="image/jpeg" />
32 + <map from="png" to="image/png" />
33 + <map from="svg" to="image/svg" />
34 </extension-mimetype>
35 diff -Nur smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/32mimetypeContenttype smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/32mimetypeContenttype
36 --- smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/32mimetypeContenttype 2018-03-19 00:35:38.000000000 -0400
37 +++ smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/32mimetypeContenttype 2019-01-24 20:24:31.886000000 -0500
38 @@ -9,6 +9,7 @@
39 <treat mimetype="audio/x-wav" as="pcm"/>
40 <treat mimetype="audio/L16" as="pcm"/>
41 <treat mimetype="video/x-msvideo" as="avi"/>
42 + <treat mimetype="video/x-divx" as="avi"/>
43 <treat mimetype="video/mp4" as="mp4"/>
44 <treat mimetype="audio/mp4" as="mp4"/>
45 <treat mimetype="application/x-iso9660" as="dvd"/>

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed