]> kaliko git repositories - mpd-goodies.git/blobdiff - config.py
* fixes some bugs on mtopls
[mpd-goodies.git] / config.py
index 1a900c0a1437a01b498b01705a534ae797799274..16f7bf7dee42b0c45bcc097aff9af6915b800c88 100644 (file)
--- 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