openbsd-ports/multimedia/minidlna/patches/patch-minidlna_conf
2012-10-11 17:59:05 +00:00

44 lines
1.8 KiB
Plaintext

$OpenBSD: patch-minidlna_conf,v 1.2 2012/10/11 17:59:05 sthen Exp $
default directories, plus we don't use inotify
--- minidlna.conf.orig Tue Feb 14 19:26:53 2012
+++ minidlna.conf Thu Oct 11 19:57:58 2012
@@ -1,8 +1,9 @@
# port for HTTP (descriptions, SOAP, media transfer) traffic
+# if firewalling, this TCP port, as well as UDP port 1900, must be open.
port=8200
# network interfaces to serve, comma delimited
-#network_interface=eth0
+#network_interface=em0
# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
@@ -17,22 +18,18 @@ media_dir=/opt
#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
+#db_dir=/var/db/minidlna
# set this if you would like to specify the directory where you want MiniDLNA to store its log file
-#log_dir=/var/log
+#log_dir=/var/log/minidlna
# set this to change the verbosity of the information that is logged
# each section can use a different level: off, fatal, error, warn, info, or debug
-#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
+#log_level=general,artwork,database,scanner,metadata,http,ssdp,tivo=warn
# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
-
-# set this to no to disable inotify monitoring to automatically discover new files
-# note: the default is yes
-inotify=yes
# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
enable_tivo=no