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