2022-07-23 21:51:53 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: UTF-8 -*-
|
|
|
|
import os
|
|
|
|
import report
|
|
|
|
|
2024-03-17 17:55:23 +01:00
|
|
|
MQTT_SERVER = "{{ audio_mpd_hostname }}"
|
|
|
|
MQTT_USER = "{{ audio_mpd_username }}"
|
|
|
|
MQTT_PASS = "{{ audio_mpd_password }}"
|
|
|
|
MQTT_TOPIC = "{{ audio_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
|