From: kaliko Date: Sun, 15 Jun 2014 17:44:46 +0000 (+0200) Subject: Add album mode configuration example. X-Git-Tag: 0.12.0~3 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=e8a016a3fef4fffa66312737320451787aa2d2ba;p=mpd-sima.git Add album mode configuration example. Also fixed typo and documentation --- diff --git a/doc/examples/album_mode.cfg b/doc/examples/album_mode.cfg new file mode 100644 index 0000000..4d1c8cf --- /dev/null +++ b/doc/examples/album_mode.cfg @@ -0,0 +1,31 @@ +# +# For complete list of options availble please refer to manual +# "man 5 mpd_sima.cfg" or the documentation: +# /usr/share/doc/mpd-sima/examples/all_settings.cfg +# +########################## MPD SECTION ################################ +[MPD] +host = localhost +port = 6600 +#password = s3cr3t + +######################## LOGGING FACILITY ############################# +[log] +#logfile = +verbosity = info + +######################## SIMA CORE #################################### +[sima] +history_duration = 24 # in hours +queue_length = 5 + +######################### PLUGINS ##################################### + +[crop] +consume = 20 + +[lastfm] +queue_mode = album +album_to_add = 1 + +# vim: syntax=cfg fileencoding=utf-8 diff --git a/doc/examples/all_settings.cfg b/doc/examples/all_settings.cfg index 3be857d..46a6184 100644 --- a/doc/examples/all_settings.cfg +++ b/doc/examples/all_settings.cfg @@ -1,9 +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. # +# cf. man 5 mpd_sima.cfg ######################################################################## ########################## MPD SECTION ################################ diff --git a/sima/plugins/internal/randomfallback.py b/sima/plugins/internal/randomfallback.py index aceff44..4c011fe 100644 --- a/sima/plugins/internal/randomfallback.py +++ b/sima/plugins/internal/randomfallback.py @@ -71,7 +71,7 @@ class RandomFallBack(Plugin): return trks def get_trk(self): - """Get a single track acording to random flavour + """Get a single track according to random flavour """ trk = None art = None