12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- $OpenBSD: patch-minidlna_conf,v 1.6 2017/05/21 14:52:54 sthen Exp $
- default directories, plus we don't use inotify
- Index: minidlna.conf
- --- minidlna.conf.orig
- +++ minidlna.conf
- @@ -1,11 +1,12 @@
- # 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
-
- # specify the user account name or uid to run as
- -#user=jmaggard
- +#user=_minidlna
-
- # set this to the directory you want scanned.
- # * if you want multiple directories, you can have multiple media_dir= lines
- @@ -15,7 +16,7 @@ port=8200
- # + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
- # + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
- # + "PV" for pictures and video (eg. media_dir=PV,/home/jmaggard/digital_camera)
- -media_dir=/opt
- +media_dir=/share
-
- # set this to merge all media_dir base contents into the root container
- # note: the default is no
- @@ -25,23 +26,19 @@ 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
-
- @@ -64,6 +61,10 @@ notify_interval=900
- # in its XML description
- serial=12345678
- model_number=1
- +
- +# specify fixed uuid, rather than generating a fresh one at startup.
- +# helps some clients at restart time. see uuid(1) or uuidgen(1).
- +#uuid=abc12345-5678-9abc-def0-123456789abc
-
- # specify the path to the MiniSSDPd socket
- #minissdpdsocket=/var/run/minissdpd.sock
|