Module spotify_state -> mqtt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.py 438B

123456789101112131415161718192021222324
  1. #!/usr/bin/env python
  2. # -*- coding: UTF-8 -*-
  3. import os
  4. import report
  5. MQTT_USER = "user"
  6. MQTT_PASS = "pass"
  7. MQTT_SERVER = "localhost"
  8. MQTT_TOPIC = "hifi/spotify"
  9. DEVICE_NAME = "Multimedia"
  10. #
  11. # Logging
  12. #
  13. __BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
  14. APP_NAME = "spotify"
  15. LOGTARGET = 'logfile' # possible choices are: 'logfile' or 'stdout'
  16. LOGLVL = 'DEBUG'
  17. LOGHOST = 'cutelog'
  18. LOGPORT = 19996
  19. formatter = report.LONG_FMT