mpd/config_example/config.py

23 rivejä
402 B
Python

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os
import report
MQTT_USER = "user"
MQTT_PASS = "pass"
MQTT_SERVER = "localhost"
MQTT_TOPIC = "hifi/mpd"
#
# Logging
#
__BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
APP_NAME = "mpd"
LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
LOGLVL = 'DEBUG'
LOGHOST = 'cutelog'
LOGPORT = 19996
formatter = report.SHORT_FMT