X-Git-Url: https://git.kaliko.me/?p=mpd-goodies.git;a=blobdiff_plain;f=config.py;h=2bc85792085b09c43610a7ba01390591ebb37f88;hp=1a900c0a1437a01b498b01705a534ae797799274;hb=1f048f3e8eed3b9aac70dc10394dce0cdf2be98f;hpb=af218e6e9992ba48bd4f53e4459aa75ddc30cb00 diff --git a/config.py b/config.py index 1a900c0..2bc8579 100644 --- a/config.py +++ b/config.py @@ -1,12 +1,20 @@ # -*- coding: utf-8 -*- +# This config is python script ## SETTINGS # ## MPD -# set PASSWORD to "False" if not use -HOST = 'localhost' -PORT = '6600' -PASSWORD = False +# +# The default are localhost:6600 / no password +# +# To set different MPD host/port/password please use environment variables. +# +# You may set MPD_HOST/MPD_PORT in your shell rc file +# or +# You can launch the script with leading environment variables: +# $> MPD_HOST=pass@my_mpd_host script.py +# +# More details in mpc manual (cf. man 1 mpc), section ENVIRONMENT ## Set JINGLE_TAG here. # @@ -22,6 +30,8 @@ PASSWORD = False # 'artist' : 'Steve Albini' # } #JINGLE_TAG = {'comment': 'jingle'} +#TODO: remove following to release +JINGLE_TAG = {'artist': 'Magma'} # VIM MODLINE # vim: ai ts=4 sw=4 sts=4 expandtab