]> kaliko git repositories - mpd-sima.git/blob - doc/examples/all_settings.cfg
Remove EchoNest support (Closes #10)
[mpd-sima.git] / doc / examples / all_settings.cfg
1 ########################################################################
2 #
3 # If you need special settings, rename this file as mpd_sima.cfg within
4 # your $XDG_CONFIG_HOME (default is $HOME/.config/mpd_sima/)
5 # You can also call it with --config option.
6 #
7 # cf. man 5 mpd_sima.cfg
8 ########################################################################
9
10 ########################## MPD SECTION ################################
11 #
12 [MPD]
13 ## HOST
14 # type: string (IP or FQDN)
15 # description: MPD host
16 # default: localhost
17 host = localhost
18
19 ## PORT
20 # type: integer
21 # description: MPD host port
22 # default: 6600
23 port = 6600
24
25 ## PASSWORD
26 # type: string
27 # default: unset, not using authentication
28 # description: MPD host password, comment if you don't use
29 #password = s3cr3t
30
31 #
32 #######################################################################
33
34 ######################## LOGGING FACILITY #############################
35 #
36 [log]
37 ## LOGFILE
38 # type: string (file path)
39 # description: file to log to. Usually used in daemon mode.
40 # default: unset, logging to stdin/stdout
41 #logfile =
42
43 ## VERBOSITY
44 # type: string
45 # description: log verbosity
46 # default: info
47 # Possible values:
48 #    * debug, PAY ATTENTION: *DEBUG LEVEL MIGHT PRINT OUT YOUR PASSWORD*
49 #    * info, default
50 #    * warning
51 #    * error
52 verbosity = info
53
54 #
55 #######################################################################
56
57
58 ######################## SIMA CORE ####################################
59 #
60 # These settings deal with MPD_sima core behaviour.
61 [sima]
62 ## PLUGINS
63 # type: comma separated string list
64 #       for ex.:
65 #                contrib = Scrobble, AwesomePlugin,
66 #                          ExperimentalTest, AnotherTest
67 # default:
68 #          internal = "Lastfm, Random, Crop"
69 #          contrib =
70 #
71 # Possible values for internal
72 #       Lastfm   : Queue using last.fm web service for suggestions.
73 #       Random   : Queue a track at random (different flavour, cf. documentation)
74 #       Crop     : Remove old tracks from queue
75 #
76 # description: Plugins list declaration.
77 #     Optional plugin's configuration lays in its own section.
78 #     For instance a "AwesomePlugin" declared here
79 #     gets its configuration from the corresponding section:
80 #     "[awesomeplugin]"
81 #     internal plugins will look for a section named after the lower-cased name
82 #     of the plugin, ie. AwesomePlugin → awesomeplugin.
83 #
84 #     Two plugins sources are available, internal and contrib
85 #
86 internal = Lastfm, Random, Crop
87 #contrib =
88
89 ## HISTORY_DURATION
90 # type: integer (in hours)
91 # default: 8
92 # description: How far to look back in history to avoid to play twice the same
93 #     track/title
94 #
95 history_duration = 8
96
97 ## QUEUE_LENGTH
98 # type: integer
99 # default: 2
100 # description: Queue length threshold triggering tracks addition
101 queue_length = 2
102
103 ## MUSICBRAINZID
104 # type: boolean
105 # default: True
106 # description: Use of MusicBrainzIdentifier tag
107 musicbrainzid = True
108
109 ######################### PLUGINS #####################################
110
111 [crop]
112 ## CONSUME
113 # type: integer
114 # default: 10
115 # description: How many played tracks to keep in the playlist.
116 #  Allow to maintain a fixed length playlist.
117 #  Set a negative value to disable cropping (or remove plugin from sima/internal)
118 #consume = 10
119
120 [random]
121 ## FLAVOUR
122 # type: string
123 # default: sensible
124 # description: Random queuing, different mode, aka random flavour, are available.
125 #     random flavour :
126 #       * pure:     complete random choice among all tracks available in the
127 #                   player media library
128 #       * sensible: use play history to filter chosen tracks
129 #       * genre:    # NOT IMPLEMENTED #
130 #                   chose among the same genre as current track (using genre
131 #                   tag). If no genre tag is available "sensible" flavour
132 #                   is used  instead
133 flavour=sensible
134
135 ## TRACK_TO_ADD
136 # type: integer
137 # description: how many tracks the plugin will try to get
138 # default: 1
139 #track_to_add = 1
140
141
142 [lastfm]
143 ## QUEUE_MODE
144 # type: string
145 # description: The default is to queue random tracks from similar artists.
146 # Possible values:
147 #       track : Will queue tracks from similar artists (default).
148 #       top   : Will queue top tracks from similar artists.
149 #       album : Will queue whole album from similar artists.
150 queue_mode = track
151
152 ## MAX_ART
153 # type: integer
154 # description: Number of similar artist to retrieve from local media library.
155 #  When set to something superior to zero, MPD_sima tries to get as much similar
156 #  artists from media library
157 max_art = 10
158
159 ## DEPTH
160 # type: integer in [1, +∞]
161 # default: 1
162 # description: TBD
163 depth = 1
164
165 ## SINGLE_ALBUM
166 # type: boolean
167 # scope: "track" and "top" queue modes
168 # description: Prevent from queueing a track from the same album (for instance
169 #  with OST).
170 single_album = false
171
172 ## TRACK_TO_ADD
173 # type: integer
174 # scope: "track" and "top" queue modes
175 # description: how many tracks the plugin will try to get
176 track_to_add = 1
177
178 ## ALBUM_TO_ADD
179 # type: integer
180 # scope: "album" queue mode
181 # description: how many albums the plugin will try to get
182 album_to_add = 1
183
184 ## CACHE
185 # type: boolean
186 # description: whether or not to use on-disk persistent http cache
187 #  * When set to "true", sima will use a persistent cache for its http client.
188 #    The cache is written along with the dbfile in:
189 #                $XDG_CONFIG_HOME/mpd_sima/http/<web_service>
190 #     Until #7 is closed LastFM is broken; cf. https://gitlab.com/kaliko/sima/issues/7
191 #  * If set to "false", caching is still done but in memory.
192 # default: True
193 cache = True
194
195 #
196 ####################### END OF CONFIGURATION ##########################
197 # vim: syntax=cfg fileencoding=utf-8