You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

139 lines
5.1 KiB

  1. # A quick guide to configuring forked-daapd:
  2. #
  3. # For regular use, the most important setting to configure is "directories",
  4. # which should be the location of your media. Whatever user you have set as
  5. # "uid" must have read access to this location. Also make sure to add the user.
  6. # If the location is a network mount, please see the README.
  7. #
  8. # In all likelihood, that's all you need to do!
  9. general {
  10. # Username
  11. uid = "daapd"
  12. logfile = "/var/log/forked-daapd.log"
  13. # Database location
  14. db_path = "/var/run/forked-daapd.db"
  15. # Available levels: fatal, log, warning, info, debug, spam
  16. loglevel = log
  17. # Admin password for the non-existent web interface
  18. admin_password = "unused"
  19. # Enable/disable IPv6
  20. ipv6 = no
  21. # Location of DAAP cache
  22. daapcache_path = "/var/run/daapcache.db"
  23. # DAAP requests that take longer than this threshold (in msec) get their
  24. # replies cached for next time. Set to 0 to disable caching.
  25. # daapcache_threshold = 1000
  26. }
  27. # Library configuration
  28. library {
  29. # Name of the library as displayed by the clients
  30. # %h: hostname, %v: version
  31. name = "My Music on %h"
  32. # TCP port to listen on. Default port is 3689 (daap)
  33. port = 3689
  34. # Password for the library. Optional.
  35. # password = ""
  36. # Directories to index
  37. directories = { "/srv/music" }
  38. # Directories containing podcasts
  39. # For each directory that is indexed the path is matched against these
  40. # names. If there is a match all items in the directory are marked as
  41. # podcasts. Eg. if you index /srv/music, and your podcasts are in
  42. # /srv/music/Podcasts, you can set this to "/Podcasts".
  43. # (changing this setting only takes effect after rescan, see the README)
  44. podcasts = { "/Podcasts" }
  45. # Directories containing audiobooks
  46. # For each directory that is indexed the path is matched against these
  47. # names. If there is a match all items in the directory are marked as
  48. # audiobooks.
  49. # (changing this setting only takes effect after rescan, see the README)
  50. audiobooks = { "/Audiobooks" }
  51. # Directories containing compilations (eg soundtracks)
  52. # For each directory that is indexed the path is matched against these
  53. # names. If there is a match all items in the directory are marked as
  54. # compilations.
  55. # (changing this setting only takes effect after rescan, see the README)
  56. compilations = { "/Compilations" }
  57. # Compilations usually have many artists, and if you don't want every
  58. # artist to be listed when artist browsing in Remote, you can set
  59. # a single name which will be used for all music in the compilation dir
  60. # (changing this setting only takes effect after rescan, see the README)
  61. compilation_artist = "Various artists"
  62. # There are 5 default playlists: "Library", "Music", "Movies", "TV Shows"
  63. # and "Podcasts". Here you can change the names of these playlists.
  64. # name_library = "Library"
  65. # name_music = "Music"
  66. # name_movies = "Movies"
  67. # name_tvshows = "TV Shows"
  68. # name_podcasts = "Podcasts"
  69. # name_audiobooks = "Audiobooks"
  70. # Artwork file names (without file type extension)
  71. # forked-daapd will look for jpg and png files with these base names
  72. # artwork_basenames = { "artwork", "cover", "Folder" }
  73. # File types the scanner should ignore
  74. # Non-audio files will never be added to the database, but here you
  75. # can prevent the scanner from even probing them. This might improve
  76. # scan time. By default .db and .ini are ignored.
  77. # filetypes_ignore = { ".db", ".ini" }
  78. # Disable startup file scanning
  79. # When forked-daapd starts it will do an initial file scan of your
  80. # library (and then watch it for changes). If you are sure your library
  81. # never changes while forked-daapd is not running, you can disable the
  82. # initial file scan and save some system ressources. Disabling this scan
  83. # may lead to forked-daapd's database coming out of sync with the
  84. # library. If that happens read the instructions in the README on how
  85. # to trigger a full rescan.
  86. # filescan_disable = false
  87. # Should iTunes metadata override ours?
  88. # itunes_overrides = false
  89. # Formats: mp4a, mp4v, mpeg, alac, flac, mpc, ogg, wma, wmal, wmav, aif, wav
  90. # Formats that should never be transcoded
  91. # no_transcode = { "alac", "mp4a" }
  92. # Formats that should always be transcoded
  93. # force_transcode = { "ogg", "flac" }
  94. }
  95. # Local audio output
  96. audio {
  97. # Name - used in the speaker list in Remote
  98. nickname = "OpenWrt"
  99. # Audio device name for local audio output
  100. # card = "default"
  101. # Mixer channel to use for volume control - ALSA/Linux only
  102. # If not set, PCM will be used if available, otherwise Master.
  103. # mixer = ""
  104. }
  105. # AirPlay/Airport Express device settings
  106. # (make sure you get the capitalization of the device name right)
  107. #airplay "My AirPlay device" {
  108. # forked-daapd's volume goes to 11! If that's more than you can handle
  109. # you can set a lower value here
  110. # max_volume = 11
  111. # AirPlay password
  112. # password = "s1kr3t"
  113. #}
  114. # Spotify settings (only have effect if Spotify enabled - see README/INSTALL)
  115. spotify {
  116. # Directory where user settings should be stored (credentials)
  117. # settings_dir = "/var/cache/forked-daapd/libspotify"
  118. # Cache directory
  119. # cache_dir = "/tmp"
  120. # Set preferred bitrate for music streaming
  121. # 0: No preference (default), 1: 96kbps, 2: 160kbps, 3: 320kbps
  122. # bitrate = 0
  123. }