1 |
diff -Nur smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths |
2 |
--- smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths 2018-03-18 23:52:55.000000000 -0400 |
3 |
+++ smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths 2019-01-04 10:22:38.317000000 -0500 |
4 |
@@ -3,7 +3,6 @@ |
5 |
|
6 |
$OUT .= " <home>/etc/mediatomb</home> |
7 |
<webroot>/usr/share/mediatomb/web</webroot> |
8 |
- <servedir>/$serverdir</servedir> |
9 |
- <!-- <servedir>/home/e-smith/files/ibays/video/files</servedir> -->\n"; |
10 |
+ <servedir>/$serverdir</servedir>\n"; |
11 |
|
12 |
-} |
13 |
\ Pas de fin de ligne à la fin du fichier |
14 |
+} |
15 |
diff -Nur smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1 smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1 |
16 |
--- smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1 2018-03-19 00:36:57.000000000 -0400 |
17 |
+++ smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1 2019-01-04 10:22:02.098000000 -0500 |
18 |
@@ -1,4 +1,8 @@ |
19 |
+{ |
20 |
+my $serverdir= ${'mediatomb'}{'serverdir'} || 'mediatomb'; |
21 |
|
22 |
- <directory location="/mediatomb" mode="timed" interval="3600" |
23 |
- level="full" recursive="yes" hidden-files="no"/> |
24 |
+$OUT .= '<directory location="/'.$serverdir.'" mode="timed" interval="3600" |
25 |
+ level="full" recursive="yes" hidden-files="no"/>'; |
26 |
+ |
27 |
+} |
28 |
|