]> kaliko git repositories - mpd-sima.git/blob - doc/examples/all_settings.cfg
Some cleanup, CLI/bash completion/Doc improvements
[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 #       EchoNest : Queue using EchoNest web service for suggestions.
74 #       Random   : Queue a track at random (different flavour, cf. documentation)
75 #       Crop     : Remove old tracks from queue
76 #
77 # description: Plugins list declaration.
78 #     Optional plugin's configuration lays in its own section.
79 #     For instance a "AwesomePlugin" declared here
80 #     gets its configuration from the corresponding section:
81 #     "[awesomeplugin]"
82 #     internal plugins will look for a section named after the lower-cased name
83 #     of the plugin, ie. AwesomePlugin → awesomeplugin.
84 #
85 #     Two plugins sources are available, internal and contrib
86 #
87 internal = Lastfm, Random, Crop
88 #contrib =
89
90 ## HISTORY_DURATION
91 # type: integer (in hours)
92 # default: 8
93 # description: How far to look back in history to avoid to play twice the same
94 #     track/title
95 #
96 history_duration = 8
97
98 ## QUEUE_LENGTH
99 # type: integer
100 # default: 2
101 # description: Queue length threshold triggering tracks addition
102 queue_length = 2
103
104 ## MUSICBRAINZID
105 # type: boolean
106 # default: True
107 # description: Use of MusicBrainzIdentifier tag
108 musicbrainzid = True
109
110 ######################### PLUGINS #####################################
111
112 [crop]
113 ## CONSUME
114 # type: integer
115 # default: 10
116 # description: How many played tracks to keep in the playlist.
117 #  Allow to maintain a fixed length playlist.
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 # EchoNest or Lastfm
143 #[echonest]
144 [lastfm]
145 ## QUEUE_MODE
146 # type: string
147 # description: The default is to queue random tracks from similar artists.
148 # Possible values:
149 #       track : Will queue tracks from similar artists (default).
150 #       top   : Will queue top tracks from similar artists.
151 #       album : Will queue whole album from similar artists.
152 queue_mode = track
153
154 ## MAX_ART
155 # type: integer
156 # description: Number of similar artist to retrieve from local media library.
157 #  When set to something superior to zero, MPD_sima tries to get as much similar
158 #  artists from media library
159 max_art = 10
160
161 ## DEPTH
162 # type: integer in [1, +∞]
163 # default: 1
164 # description: TBD
165 depth = 1
166
167 ## SINGLE_ALBUM
168 # type: boolean
169 # scope: "track" and "top" queue modes
170 # description: Prevent from queueing a track from the same album (for instance
171 #  with OST).
172 single_album = false
173
174 ## TRACK_TO_ADD
175 # type: integer
176 # scope: "track" and "top" queue modes
177 # description: how many tracks the plugin will try to get
178 track_to_add = 1
179
180 ## ALBUM_TO_ADD
181 # type: integer
182 # scope: "album" queue mode
183 # description: how many albums the plugin will try to get
184 album_to_add = 1
185
186 ## CACHE
187 # type: boolean
188 # description: whether or not to use on-disk persistent http cache
189 #  * When set to "true", sima will use a persistent cache for its http client.
190 #    The cache is written along with the dbfile in:
191 #                $XDG_CONFIG_HOME/mpd_sima/http/<web_service>
192 #    Toggling http cache is only available for last.fm. EchoNest have rate limits,
193 #    we must then pay attention to bandwidth and use of caching is required.
194 #  * If set to "false", caching is still done but in memory.
195 # default: True
196 cache = True
197
198 #
199 ####################### END OF CONFIGURATION ##########################
200 # vim: syntax=cfg fileencoding=utf-8