mpd/config_example/config.j2

23 строки
469 B
Django/Jinja

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os
import report
MQTT_SERVER = "{{ audio_mpd_hostname }}"
MQTT_USER = "{{ audio_mpd_username }}"
MQTT_PASS = "{{ audio_mpd_password }}"
MQTT_TOPIC = "{{ audio_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