]> kaliko git repositories - mpd-goodies.git/blobdiff - config.py
* add new goodies fadeio.py (sleep command)
[mpd-goodies.git] / config.py
index 1a900c0a1437a01b498b01705a534ae797799274..2bc85792085b09c43610a7ba01390591ebb37f88 100644 (file)
--- 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