X-Git-Url: http://git.kaliko.me/?p=mpd-goodies.git;a=blobdiff_plain;f=config.py;h=16f7bf7dee42b0c45bcc097aff9af6915b800c88;hp=1a900c0a1437a01b498b01705a534ae797799274;hb=86013a2622c1f21cc64ef81733d48023caaf75a9;hpb=af218e6e9992ba48bd4f53e4459aa75ddc30cb00 diff --git a/config.py b/config.py index 1a900c0..16f7bf7 100644 --- a/config.py +++ b/config.py @@ -1,12 +1,21 @@ # -*- 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 about MPD's environment variables in mpc manual (cf. man 1 mpc), +# options --host/--port. ## Set JINGLE_TAG here. # @@ -22,6 +31,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