patch-minidlna_conf 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. $OpenBSD: patch-minidlna_conf,v 1.6 2017/05/21 14:52:54 sthen Exp $
  2. default directories, plus we don't use inotify
  3. Index: minidlna.conf
  4. --- minidlna.conf.orig
  5. +++ minidlna.conf
  6. @@ -1,11 +1,12 @@
  7. # port for HTTP (descriptions, SOAP, media transfer) traffic
  8. +# if firewalling, this TCP port, as well as UDP port 1900, must be open.
  9. port=8200
  10. # network interfaces to serve, comma delimited
  11. -#network_interface=eth0
  12. +#network_interface=em0
  13. # specify the user account name or uid to run as
  14. -#user=jmaggard
  15. +#user=_minidlna
  16. # set this to the directory you want scanned.
  17. # * if you want multiple directories, you can have multiple media_dir= lines
  18. @@ -15,7 +16,7 @@ port=8200
  19. # + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
  20. # + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
  21. # + "PV" for pictures and video (eg. media_dir=PV,/home/jmaggard/digital_camera)
  22. -media_dir=/opt
  23. +media_dir=/share
  24. # set this to merge all media_dir base contents into the root container
  25. # note: the default is no
  26. @@ -25,23 +26,19 @@ media_dir=/opt
  27. #friendly_name=My DLNA Server
  28. # set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
  29. -#db_dir=/var/cache/minidlna
  30. +#db_dir=/var/db/minidlna
  31. # set this if you would like to specify the directory where you want MiniDLNA to store its log file
  32. -#log_dir=/var/log
  33. +#log_dir=/var/log/minidlna
  34. # set this to change the verbosity of the information that is logged
  35. # each section can use a different level: off, fatal, error, warn, info, or debug
  36. -#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
  37. +#log_level=general,artwork,database,scanner,metadata,http,ssdp,tivo=warn
  38. # this should be a list of file names to check for when searching for album art
  39. # note: names should be delimited with a forward slash ("/")
  40. 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
  41. -# set this to no to disable inotify monitoring to automatically discover new files
  42. -# note: the default is yes
  43. -inotify=yes
  44. -
  45. # set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
  46. enable_tivo=no
  47. @@ -64,6 +61,10 @@ notify_interval=900
  48. # in its XML description
  49. serial=12345678
  50. model_number=1
  51. +
  52. +# specify fixed uuid, rather than generating a fresh one at startup.
  53. +# helps some clients at restart time. see uuid(1) or uuidgen(1).
  54. +#uuid=abc12345-5678-9abc-def0-123456789abc
  55. # specify the path to the MiniSSDPd socket
  56. #minissdpdsocket=/var/run/minissdpd.sock