23 wiersze
467 B
Python
23 wiersze
467 B
Python
#!/usr/bin/env python
|
|
# -*- coding: UTF-8 -*-
|
|
import os
|
|
import report
|
|
|
|
MQTT_SERVER = "<mqtt_smarthome_hostname>"
|
|
MQTT_USER = "<mqtt_smarthome_username>"
|
|
MQTT_PASS = "<mqtt_smarthome_password>"
|
|
MQTT_TOPIC = "<mqtt_mpd_topic>"
|
|
|
|
#
|
|
# Logging
|
|
#
|
|
__BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
|
|
APP_NAME = "mpd"
|
|
LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
|
|
LOGLVL = 'INFO'
|
|
|
|
LOGHOST = 'cutelog'
|
|
LOGPORT = 19996
|
|
|
|
formatter = report.SHORT_FMT
|