Advertisement
hbars

minidlna

Feb 20th, 2018
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.66 KB | None | 0 0
  1. # This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media
  2. # server.
  3. #
  4. # Unless otherwise noted, the commented out options show their default value.
  5. #
  6. # On Debian, you can also refer to the minidlna.conf(5) man page for
  7. # documentation about this file.
  8.  
  9. # Specify the user name or uid to run as.
  10. user=minidlna
  11.  
  12.  
  13. # Path to the directory you want scanned for media files.
  14. #
  15. # This option can be specified more than once if you want multiple directories
  16. # scanned.
  17. #
  18. # If you want to restrict a media_dir to a specific content type, you can
  19. # prepend the directory name with a letter representing the type (A, P or V),
  20. # followed by a comma, as so:
  21. #   * "A" for audio    (eg. media_dir=A,/var/lib/minidlna/music)
  22. #   * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
  23. #   * "V" for video    (eg. media_dir=V,/var/lib/minidlna/videos)
  24. media_dir=/mnt/sda1/transmission/complete
  25.  
  26. # Path to the directory that should hold the database and album art cache.
  27. #db_dir=/var/cache/minidlna
  28. db_dir=/mnt/sda1/mdb
  29.  
  30. # Path to the directory that should hold the log file.
  31. log_dir=/var/log
  32.  
  33. # Type and minimum level of importance of messages to be logged.
  34. #
  35. # The types are "artwork", "database", "general", "http", "inotify",
  36. # "metadata", "scanner", "ssdp" and "tivo".
  37. #
  38. # The levels are "off", "fatal", "error", "warn", "info" or "debug".
  39. # "off" turns of logging entirely, "fatal" is the highest level of importance
  40. # and "debug" the lowest.
  41. #
  42. # The types are comma-separated, followed by an equal sign ("="), followed by a
  43. # level that applies to the preceding types. This can be repeated, separating
  44. # each of these constructs with a comma.
  45. #
  46. # The default is to log all types of messages at the "warn" level.
  47. #log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
  48. log_level=warn
  49.  
  50. # Use a different container as the root of the directory tree presented to
  51. # clients. The possible values are:
  52. #   * "." - standard container
  53. #   * "B" - "Browse Directory"
  54. #   * "M" - "Music"
  55. #   * "P" - "Pictures"
  56. #   * "V" - "Video"
  57. # If you specify "B" and the client device is audio-only then "Music/Folders"
  58. # will be used as root.
  59. root_container=.
  60.  
  61. # Network interface(s) to bind to (e.g. eth0), comma delimited.
  62. # This option can be specified more than once.
  63. #network_interface=eth0,wlan0
  64. network_interface=eth0
  65.  
  66. # IPv4 address to listen on (e.g. 192.0.2.1/24).
  67. # If omitted, the mask defaults to 24. The IPs are added to those determined
  68. # from the network_interface option above.
  69. # This option can be specified more than once.
  70. #listening_ip=192.168.3.2
  71.  
  72. # Port number for HTTP traffic (descriptions, SOAP, media transfer).
  73. # This option is mandatory (or it must be specified on the command-line using
  74. # "-p").
  75. #port=5500
  76. port=8200
  77.  
  78. # URL presented to clients (e.g. http://example.com:80).
  79. #presentation_url=/
  80.  
  81. # Name that the DLNA server presents to clients.
  82. # Defaults to "hostname: username".
  83. friendly_name=RPi NAS server
  84.  
  85. # Serial number the server reports to clients.
  86. # Defaults to 00000000.
  87. serial=681019810597110
  88.  
  89. # Model name the server reports to clients.
  90. model_name=Windows Media Connect compatible (MiniDLNA)
  91.  
  92. # Model number the server reports to clients.
  93. # Defaults to the version number of minidlna.
  94. model_number=1.0.0
  95.  
  96. # Automatic discovery of new files in the media_dir directory.
  97. inotify=yes
  98.  
  99. # Объединять корневые папки
  100. # Параметр добавлен в версии 1.1.3
  101. # Включаем, чтобы избавиться от лишнего уровня вложенности
  102. # Расположение видео файлов при значении "no": Video/Folders/Video, при значении "yes": Video/Folders
  103. # При изменении параметра, потребуется повторное сканирование файлов.
  104. #merge_media_dirs=yes
  105.  
  106. # List of file names to look for when searching for album art.
  107. # Names should be delimited with a forward slash ("/").
  108. # This option can be specified more than once.
  109. album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
  110. album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
  111. album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
  112.  
  113. # Strictly adhere to DLNA standards.
  114. # This allows server-side downscaling of very large JPEG images, which may
  115. # decrease JPEG serving performance on (at least) Sony DLNA products.
  116. #strict_dlna=yes
  117.  
  118. # Support for streaming .jpg and .mp3 files to a TiVo supporting HMO.
  119. #enable_tivo=no
  120.  
  121. # Notify interval, in seconds.
  122. notify_interval=240
  123.  
  124. # Path to the MiniSSDPd socket, for MiniSSDPd support.
  125. minissdpdsocket=/run/minissdpd.sock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement