X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=doc%2Fexamples%2Fall_settings.cfg;h=2551f34dd5573db344a214e7d3b432aab30605cf;hb=refs%2Fheads%2Fissue_28;hp=ca8e9e609982ee029875487b1de402f7f0092756;hpb=0bca6ee3dd5a5426c985e85e0e50fac77e4ec8f1;p=mpd-sima.git diff --git a/doc/examples/all_settings.cfg b/doc/examples/all_settings.cfg index ca8e9e6..2551f34 100644 --- a/doc/examples/all_settings.cfg +++ b/doc/examples/all_settings.cfg @@ -67,6 +67,12 @@ verbosity = info # default: # internal = "Lastfm, Random, Crop" # contrib = +# +# Possible values for internal +# Lastfm : Queue using last.fm 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 lays in its own section. # For instance a "AwesomePlugin" declared here @@ -88,13 +94,6 @@ internal = Lastfm, Random, Crop # 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: 2 @@ -107,15 +106,27 @@ queue_length = 2 # description: Use of MusicBrainzIdentifier tag musicbrainzid = True +## REPEAT_DISABLE_QUEUE +# type: boolean +# default: True +# description: Prevent repeat play mode to disable queuing +repeat_disable_queue = True + +## SINGLE_DISABLE_QUEUE +# type: boolean +# default: True +# description: Prevent single play mode to disable queuing +single_disable_queue = True + ######################### PLUGINS ##################################### [crop] ## CONSUME # type: integer -# default: unset, not cropping playlist +# default: 10 # description: How many played tracks to keep in the playlist. # Allow to maintain a fixed length playlist. -# Leave commented to keep all tracks +# Set a negative value to disable cropping (or remove plugin from sima/internal) #consume = 10 [random] @@ -140,8 +151,6 @@ flavour=sensible #track_to_add = 1 -# EchoNest or LastFM -#[echonest] [lastfm] ## QUEUE_MODE # type: string @@ -184,14 +193,26 @@ track_to_add = 1 # description: how many albums the plugin will try to get album_to_add = 1 +## TRACK_TO_ADD_FROM_ALBUM +# type: integer +# scope: "album" queue mode +# description: how many tracks from one album the plugin will try to get +# defaults to 0 to queue the whole album +track_to_add_from_album = 0 + +## SHUFFLE_ALBUM +# type: boolean +# scope: "album" queue mode +# description: should the tracks of the album be shuffled +shuffle_album = false + ## CACHE # type: boolean # description: whether or not to use on-disk persistent http cache # * When set to "true", sima will use a persistent cache for its http client. # The cache is written along with the dbfile in: # $XDG_CONFIG_HOME/mpd_sima/http/ -# Toggling http cache is only available for last.fm. EchoNest have rate limits, -# we must then pay attention to bandwidth and use of caching is required. +# Until #7 is closed LastFM is broken; cf. https://gitlab.com/kaliko/sima/issues/7 # * If set to "false", caching is still done but in memory. # default: True cache = True