1 ########################################################################
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.
7 # cf. man 5 mpd_sima.cfg
8 ########################################################################
10 ########################## MPD SECTION ################################
14 # type: string (IP or FQDN)
15 # description: MPD host
21 # description: MPD host port
27 # default: unset, not using authentication
28 # description: MPD host password, comment if you don't use
32 #######################################################################
34 ######################## LOGGING FACILITY #############################
38 # type: string (file path)
39 # description: file to log to. Usually used in daemon mode.
40 # default: unset, logging to stdin/stdout
45 # description: log verbosity
48 # * debug, PAY ATTENTION: *DEBUG LEVEL MIGHT PRINT OUT YOUR PASSWORD*
55 #######################################################################
58 ######################## SIMA CORE ####################################
60 # These settings deal with MPD_sima core behaviour.
63 # type: comma separated string list
65 # contrib = Scrobble, AwesomePlugin,
66 # ExperimentalTest, AnotherTest
68 # internal = "Lastfm, Random, Crop"
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
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:
81 # internal plugins will look for a section named after the lower-cased name
82 # of the plugin, ie. AwesomePlugin → awesomeplugin.
84 # Two plugins sources are available, internal and contrib
86 internal = Lastfm, Random, Crop
90 # type: integer (in hours)
92 # description: How far to look back in history to avoid to play twice the same
100 # description: Queue length threshold triggering tracks addition
106 # description: Use of MusicBrainzIdentifier tag
109 ## REPEAT_DISABLE_QUEUE
112 # description: Prevent repeat play mode to disable queuing
113 repeat_disable_queue = True
115 ## SINGLE_DISABLE_QUEUE
118 # description: Prevent single play mode to disable queuing
119 single_disable_queue = True
121 ######################### PLUGINS #####################################
124 ## Offline tags queing
125 # This plugin has no defaults set
127 # TAGS, any of the supported tags below
140 # description: Forge your own MPD filter (cf MPD protocol documentation)
147 # description: How many played tracks to keep in the playlist.
148 # Allow to maintain a fixed length playlist.
149 # Set a negative value to disable cropping (or remove plugin from sima/internal)
156 # description: Random queuing, different mode, aka random flavour, are available.
158 # * pure: complete random choice among all tracks available in the
159 # player media library
160 # * sensible: use play history to filter chosen tracks
161 # * genre: # NOT IMPLEMENTED #
162 # chose among the same genre as current track (using genre
163 # tag). If no genre tag is available "sensible" flavour
169 # description: how many tracks the plugin will try to get
177 # description: The default is to queue random tracks from similar artists.
179 # track : Will queue tracks from similar artists (default).
180 # top : Will queue top tracks from similar artists.
181 # album : Will queue whole album from similar artists.
186 # description: Number of similar artist to retrieve from local media library.
187 # When set to something superior to zero, MPD_sima tries to get as much similar
188 # artists from media library
192 # type: integer in [1, +∞]
199 # scope: "track" and "top" queue modes
200 # description: Prevent from queueing a track from the same album (for instance
206 # scope: "track" and "top" queue modes
207 # description: how many tracks the plugin will try to get
212 # scope: "album" queue mode
213 # description: how many albums the plugin will try to get
216 ## TRACK_TO_ADD_FROM_ALBUM
218 # scope: "album" queue mode
219 # description: how many tracks from one album the plugin will try to get
220 # defaults to 0 to queue the whole album
221 track_to_add_from_album = 0
225 # scope: "album" queue mode
226 # description: should the tracks of the album be shuffled
227 shuffle_album = false
231 # description: whether or not to use on-disk persistent http cache
232 # * When set to "true", sima will use a persistent cache for its http client.
233 # The cache is written along with the dbfile in:
234 # $XDG_CONFIG_HOME/mpd_sima/http/<web_service>
235 # Until #7 is closed LastFM is broken; cf. https://gitlab.com/kaliko/sima/issues/7
236 # * If set to "false", caching is still done but in memory.
241 ####################### END OF CONFIGURATION ##########################
242 # vim: syntax=cfg fileencoding=utf-8