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.

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