Adjust minidlna for inotify becoming part of the default kernel.

minidlna.init: stop forcing a rescan (-R) of the media library on startup. 
Users will need to run it once after installing.

040-configuration-tweak.patch: enable use of inotify in the default 
configuration

Signed-off-by: Ian Leonard <[email protected]>
---
Index: feeds/packages/multimedia/minidlna/files/minidlna.init
===================================================================
--- feeds/packages/multimedia/minidlna/files/minidlna.init      (revision 28033)
+++ feeds/packages/multimedia/minidlna/files/minidlna.init      (working copy)
@@ -7,7 +7,7 @@
 SSD=start-stop-daemon
 
 start() {
-       $SSD -p $PID -S -x $BIN -- -P $PID -R
+       $SSD -p $PID -S -x $BIN -- -P $PID
 }
 
 stop() {
Index: feeds/packages/multimedia/minidlna/patches/040-configuration-tweak.patch
===================================================================
--- feeds/packages/multimedia/minidlna/patches/040-configuration-tweak.patch    
(revision 28033)
+++ feeds/packages/multimedia/minidlna/patches/040-configuration-tweak.patch    
(working copy)
@@ -22,12 +22,3 @@
  
  # set this if you would like to specify the directory where you want MiniDLNA 
to store its database and album art cache
  #db_dir=/var/cache/minidlna
-@@ -28,7 +28,7 @@ album_art_names=Cover.jpg/cover.jpg/Albu
- 
- # set this to no to disable inotify monitoring to automatically discover new 
files
- # note: the default is yes
--inotify=yes
-+inotify=no
- 
- # set this to yes to enable support for streaming .jpg and .mp3 files to a 
TiVo supporting HMO
- enable_tivo=no
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to