[autoradiod]
#player to use (AutoPlayer, xmms, audacious)
player="AutoPlayer"
#directory where write new playlists generated by autoradiod
playlistdir="/usr/share/autoradio/django/media/spots"
# path to working file
logfile="/var/log/autoradio/autoradiod.log"
errfile = "/var/log/autoradio/autoradiod.err"
lockfile = "/var/run/autoradio/autoradiod.lock"
timestampfile = "/var/run/autoradio/autoradiod.timestamp"
# host xmms is running on
xmms_host="localhost"
#backward and forward time intervat to check for schedule conflict
minelab=180
# tollerance time interval to recovery schedule not done ( backward time when start autoradiod )
# to adjust the programming you have to make changes minsched minutes before
minsched=5
locale="C.UTF-8"
user = autoradio
group = autoradio
[[ env ]]
DISPLAY=':0.0'
LANG=$locale
[autoradioweb]
logfile = '/var/log/autoradio/autoradioweb.log'
errfile = '/var/log/autoradio/autoradioweb.err'
lockfile = '/var/run/autoradio/autoradioweb.lock'
user = autoradio
group = autoradio
#port = '8888'
# the web player can only manage ogg vorbis files at 44100Hz: enable or disable check on uploads
permit_no_playable_files = False
# tags help in the web view: enable or disable check on uploads
# if file do not have tags will be rejected
# this enable or disable check for 44100Hz sample rate compatibility for enclosure
require_tags_in_enclosure = True
[django]
DEBUG = True
TEMPLATE_DEBUG = True
FILE_UPLOAD_PERMISSIONS = 420
# Make this unique, and don't share it with anybody.
SECRET_KEY = random-string-of-ascii
#SESSION_COOKIE_DOMAIN = autoradio
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = 'Europe/Rome'
# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'en-us'
#LANGUAGE_CODE = 'it-it'
SITE_ID = 1
# If you set this to False, Django will make some optimizations so as not
# to load the internationalization machinery.
USE_I18N = True
# directories where Django looks for translation files.
LOCALE_PATHS='/usr/share/autoradio/locale',
ADMINS=Your Name your_email@domain.com,
MANAGERS=Your Name your_email@domain.com,
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = '/usr/share/autoradio/media/'
#URL that handles the media served from MEDIA_ROOT, used for managing
#stored files. It must end in a slash if set to a non-empty value. You
#will need to configure these files to be served in both development
#and production environments.
MEDIA_URL="/media/"
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
TEMPLATE_DIRS = "/usr/share/autoradio/templates",
#The absolute path to the directory where collectstatic will collect static files for deployment
STATIC_ROOT = "/usr/share/autoradio/static"
#URL to use when referring to static files located in STATIC_ROOT.
STATIC_URL = '/static/'
# set to true if django have to serve static file
# set to false if you use other web server like apache
SERVE_STATIC=True
# The URL where requests are redirected for login, especially when
# using the login_required() decorator.
LOGIN_URL='/login/'
[database]
DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
DATABASE_NAME = '/usr/share/autoradio/autoradio.sqlite3' # Or path to database file if using sqlite3.
#DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
#DATABASE_NAME = 'autoradio' # Or path to database file if using sqlite3.
#DATABASE_USER = 'autoradio' # Not used with sqlite3.
#DATABASE_PASSWORD = 'autoradio' # Not used with sqlite3.
#DATABASE_HOST = 'autoradio' # Set to empty string for localhost. Not used with sqlite3.
#DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
[autoplayer]
user = autoradio
group = autoradio
logfile = '/var/log/autoradio/autoplayer.log'
errfile = '/var/log/autoradio/autoplayer.err'
lockfile = '/var/run/autoradio/autoplayer.lock'
# Add an address that the dbus-daemon should listen on. The address is in the
# standard D-Bus format that contains a transport name plus possible
# parameters/options.
# Example: <listen>unix:path=/tmp/foo</listen>
# Example: <listen>tcp:host=localhost,port=1234</listen>
# http://stackoverflow.com/questions/10158684/connecting-to-dbus-over-tcp
#busaddress='tcp:host=localhost,port=1234'
#audiosink = jackaudiosink # set to autoaudiosink / jackaudiosink
[autoradiodbus]
user = autoradio
group = autoradio
logfile = '/var/log/autoradio/autoradiodbus.log'
errfile = '/var/log/autoradio/autoradiodbus.err'
lockfile = '/var/run/autoradio/autoradiodbus.lock'
conffile = '/etc/autoradio/dbus-autoradio.conf'
[jackdaemon]
user = autoradio
group = audio
logfile = '/var/log/autoradio/jackdaemon.log'
errfile = '/var/log/autoradio/jackdaemon.err'
lockfile = '/var/run/autoradio/jackdaemon.lock'