2022-07-23 21:51:53 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: UTF-8 -*-
|
|
|
|
import os
|
|
|
|
import report
|
|
|
|
|
2023-11-04 08:30:25 +01:00
|
|
|
MQTT_SERVER = "<mqtt_smarthome_hostname>"
|
|
|
|
MQTT_USER = "<mqtt_smarthome_username>"
|
|
|
|
MQTT_PASS = "<mqtt_smarthome_password>"
|
|
|
|
MQTT_TOPIC = "<mqtt_mpd_topic>"
|
2022-07-23 21:51:53 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Logging
|
|
|
|
#
|
|
|
|
__BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
APP_NAME = "mpd"
|
2022-08-24 14:30:52 +01:00
|
|
|
LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
|
2023-11-04 08:30:25 +01:00
|
|
|
LOGLVL = 'INFO'
|
2022-07-23 21:51:53 +02:00
|
|
|
|
|
|
|
LOGHOST = 'cutelog'
|
|
|
|
LOGPORT = 19996
|
|
|
|
|
2022-08-24 14:30:52 +01:00
|
|
|
formatter = report.SHORT_FMT
|