]> kaliko git repositories - mpd-sima.git/blobdiff - doc/examples/all_settings.cfg
Update config example
[mpd-sima.git] / doc / examples / all_settings.cfg
index 119d7f42a15a187d0746ea0c4945edae5d661f99..65cc61f8853b6c75725d0ef1b1cbe0b22936fa56 100644 (file)
@@ -1,19 +1,10 @@
 ########################################################################
 #
-# If you need special settings, rename this file as sima.cfg within
-# your $XDG_CONFIG_HOME (default is $HOME/.config/sima/)
+# If you need special settings, rename this file as mpd_sima.cfg within
+# your $XDG_CONFIG_HOME (default is $HOME/.config/mpd_sima/)
 # You can also call it with --config option.
 #
-# Pay Attention:
-# * Inline comment are not possible
-#
-#  WRONG:
-#  host = localhost  # My host
-#
-#  OK:
-#  # My host
-#  host = localhost
-#
+# cf. man 5 mpd_sima.cfg
 ########################################################################
 
 ########################## MPD SECTION ################################
@@ -74,17 +65,26 @@ verbosity = info
 #                contrib = Scrobble, AwesomePlugin,
 #                          ExperimentalTest, AnotherTest
 # default:
-#          internal = "Crop, Lastfm, RandomFallBack"
+#          internal = "Lastfm, Random, Crop"
 #          contrib =
+#
+# Possible values for internal
+#      Lastfm   : Queue using last.fm web service for suggestions.
+#      EchoNest : Queue using EchoNest web service for suggestions.
+#      Random   : Queue a track at random (different flavour, cf. documentation)
+#      Crop     : Remove old tracks from queue
+#
 # description: Plugins list declaration.
-#     Optional plugin's configuration must be in its own section.
+#     Optional plugin's configuration lays in its own section.
 #     For instance a "AwesomePlugin" declared here
 #     gets its configuration from the corresponding section:
 #     "[awesomeplugin]"
+#     internal plugins will look for a section named after the lower-cased name
+#     of the plugin, ie. AwesomePlugin → awesomeplugin.
 #
 #     Two plugins sources are available, internal and contrib
 #
-internal = Crop, Lastfm, RandomFallBack
+internal = Lastfm, Random, Crop
 #contrib =
 
 ## HISTORY_DURATION
@@ -95,18 +95,17 @@ internal = Crop, Lastfm, RandomFallBack
 #
 history_duration = 8
 
-## USER_DB # NOT IMPLEMENTED #
-# type: boolean
-# description: Load user database to find similar artists
-#     User DB is loaded from $XDG_CONFIG_HOME/mpd_sima/sima.db
-#     Use simadb_cli to edit/add entries.
-user_db = false
-
 ## QUEUE_LENGTH
 # type: integer
-# default: 1
-# description: Queue length triggering tracks addition
-queue_length = 1
+# default: 2
+# description: Queue length threshold triggering tracks addition
+queue_length = 2
+
+## MUSICBRAINZID
+# type: boolean
+# default: True
+# description: Use of MusicBrainzIdentifier tag
+musicbrainzid = True
 
 ######################### PLUGINS #####################################
 
@@ -119,12 +118,11 @@ queue_length = 1
 #  Leave commented to keep all tracks
 #consume = 10
 
-[randomfallback]
+[random]
 ## FLAVOUR
 # type: string
 # default: sensible
-# description: When no similar tracks are found, falling back to random
-#     queuing. Different mode, aka random flavour, are available.
+# description: Random queuing, different mode, aka random flavour, are available.
 #     random flavour :
 #       * pure:     complete random choice among all tracks available in the
 #                   player media library
@@ -133,7 +131,7 @@ queue_length = 1
 #                   chose among the same genre as current track (using genre
 #                   tag). If no genre tag is available "sensible" flavour
 #                   is used  instead
-#flavour=sensible
+flavour=sensible
 
 ## TRACK_TO_ADD
 # type: integer
@@ -142,7 +140,7 @@ queue_length = 1
 #track_to_add = 1
 
 
-# EchoNest or LastFM
+# EchoNest or Lastfm
 #[echonest]
 [lastfm]
 ## QUEUE_MODE
@@ -200,5 +198,4 @@ cache = True
 
 #
 ####################### END OF CONFIGURATION ##########################
-
 # vim: syntax=cfg fileencoding=utf-8