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 <antonlacon@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28034
3c298f89-4303-0410-b956-
a3cf2f4a3e73
SSD=start-stop-daemon
start() {
- $SSD -p $PID -S -x $BIN -- -P $PID -R
+ $SSD -p $PID -S -x $BIN -- -P $PID
}
stop() {
# 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