minidlna.conf 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. # port for HTTP (descriptions, SOAP, media transfer) traffic
  2. port=8200
  3. # network interfaces to serve, comma delimited (8 interfaces max)
  4. #network_interface=eth0
  5. # specify the user account name or uid to run as
  6. #user=jmaggard
  7. # set this to the directory you want scanned.
  8. # * if you want multiple directories, you can have multiple media_dir= lines
  9. # * if you want to restrict a media_dir to specific content types, you
  10. # can prepend the types, followed by a comma, to the directory:
  11. # + "A" for audio (eg. media_dir=A,/home/jmaggard/Music)
  12. # + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
  13. # + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
  14. # + "PV" for pictures and video (eg. media_dir=PV,/home/jmaggard/digital_camera)
  15. media_dir=A,/mnt/user/Music
  16. # set this to merge all media_dir base contents into the root container
  17. # note: the default is no
  18. #merge_media_dirs=no
  19. # set this if you want to customize the name that shows up on your clients
  20. friendly_name=Dedale DLNA
  21. # set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
  22. db_dir=/mnt/user/.cache/minidlna
  23. # set this if you would like to specify the directory where you want MiniDLNA to store its log file
  24. log_dir=/var/log/minidlna
  25. # set this to change the verbosity of the information that is logged
  26. # each section can use a different level: off, fatal, error, warn, info, or debug
  27. #log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
  28. # this should be a list of file names to check for when searching for album art
  29. # note: names should be delimited with a forward slash ("/")
  30. 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
  31. # set this to no to disable inotify monitoring to automatically discover new files
  32. # note: the default is yes
  33. inotify=yes
  34. # set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
  35. enable_tivo=no
  36. # set this to beacon to use legacy broadcast discovery method
  37. # defauts to bonjour if avahi is available
  38. tivo_discovery=bonjour
  39. # set this to strictly adhere to DLNA standards.
  40. # * This will allow server-side downscaling of very large JPEG images,
  41. # which may hurt JPEG serving performance on (at least) Sony DLNA products.
  42. strict_dlna=no
  43. # default presentation url is http address on port 80
  44. #presentation_url=http://www.mylan/index.php
  45. # notify interval in seconds. default is 895 seconds.
  46. notify_interval=900
  47. # serial and model number the daemon will report to clients
  48. # in its XML description
  49. serial=12345678
  50. model_number=1
  51. # specify the path to the MiniSSDPd socket
  52. #minissdpdsocket=/var/run/minissdpd.sock
  53. # use different container as root of the tree
  54. # possible values:
  55. # + "." - use standard container (this is the default)
  56. # + "B" - "Browse Directory"
  57. # + "M" - "Music"
  58. # + "V" - "Video"
  59. # + "P" - "Pictures"
  60. # + Or, you can specify the ObjectID of your desired root container (eg. 1$F for Music/Playlists)
  61. # if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
  62. root_container=M
  63. # always force SortCriteria to this value, regardless of the SortCriteria passed by the client
  64. # note: you can prepend the sort criteria with "!" to alter the titles of the objects so that they
  65. # will be alphanumerically sorted in the order you specify here, to work around clients that do their
  66. # own alphanumeric sorting.
  67. #force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title
  68. # maximum number of simultaneous connections
  69. # note: many clients open several simultaneous connections while streaming
  70. #max_connections=50
  71. # set this to yes to allow symlinks that point outside user-defined media_dirs.
  72. #wide_links=no
  73. # enable subtitle support by default on unknown clients.
  74. # note: the default is yes
  75. #enable_subtitles=yes