packages/multimedia/minidlna/patches/040-configuration-tweak.patch
loswillios e20278b0f5 Version Bump Minidlna 1.0.21
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
2011-08-18 08:27:29 +00:00

25 lines
831 B
Diff

--- a/minidlna.conf
+++ b/minidlna.conf
@@ -2,7 +2,7 @@
port=8200
# network interfaces to serve, comma delimited
-#network_interface=eth0
+network_interface=br-lan
# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
@@ -11,10 +11,10 @@ port=8200
# + "A" for audio (eg. media_dir=A,/home/jmaggard/Music)
# + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
# + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
-media_dir=/opt
+media_dir=/mnt
# set this if you want to customize the name that shows up on your clients
-#friendly_name=My DLNA Server
+friendly_name=My DLNA Server
# 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