sample-production.engine.ini 4.23 KB
Newer Older
1
2
3
##############################################
#            Engine Configuration            #
##############################################
David Trattnig's avatar
David Trattnig committed
4

5
6
7
[general]
# Path to the engine-core socket directory relative to the engine project root
socket_dir="../engine-core/socket"
David Trattnig's avatar
David Trattnig committed
8

David Trattnig's avatar
David Trattnig committed
9
[database]
David Trattnig's avatar
David Trattnig committed
10
db_user="aura"
David Trattnig's avatar
David Trattnig committed
11
db_name="aura_engine"
12
db_pass="---SECRET--PASSWORD---"
David Trattnig's avatar
David Trattnig committed
13
db_host="localhost"
David Trattnig's avatar
David Trattnig committed
14
15
16
db_charset="utf8"


David Trattnig's avatar
David Trattnig committed
17
[monitoring]
18
mail_server="mail.your-radio.org"
David Trattnig's avatar
David Trattnig committed
19
20
mail_server_port="587"
mail_user="aura@subsquare.at"
21
mail_pass="---SECRET--PASSWORD---"
22

23
24
25
26
# Set to "true" if you want to notify programme-coordinators about about fallback situations, otherwise "false"
mail_coordinator_enabled="true"
# If you want to address multiple programme-coordinators separate their emails by space
coordinator_mail="programme-coordinator@your-radio.org"
27
28
# Set to "true" if you want to notify admins about incidents, otherwise "false"
mail_admin_enabled="true"
29
# If you want to address multiple administrators separate their emails by space
30
31
admin_mail="admin@your-radio.org"
# The FROM email address used when sending
David Trattnig's avatar
David Trattnig committed
32
from_mail="monitoring@aura.engine"
33
34
# A subject prefix allows applying filter rules in your mail client
mailsubject_prefix="[AURA Engine]"
35

David Trattnig's avatar
David Trattnig committed
36
# Server where heartbeat info is sent to
37
heartbeat_server = "127.0.0.1"   
David Trattnig's avatar
David Trattnig committed
38
39
40
41
# Some UDP port
heartbeat_port = 43334 
# Seconds how often the vitality of the Engine should be checked (0 = disabled)
heartbeat_frequency = 1
David Trattnig's avatar
David Trattnig committed
42

David Trattnig's avatar
David Trattnig committed
43
logdir="/opt/aura/engine/logs"
44
# Possible values: debug, info, warning, error, critical
45
46
loglevel="info"

47

48
49
[api]

50
51
## STEERING ##

David Trattnig's avatar
David Trattnig committed
52
# The URL to get the health status 
53
api_steering_status="http://aura.local:8000/api/v1/"
54
# The URL to get the Calendar via Steering
David Trattnig's avatar
David Trattnig committed
55
api_steering_calendar="http://aura.local:8000/api/v1/playout"
56

David Trattnig's avatar
David Trattnig committed
57
58
## TANK ##

59
60
61
62
# The session name which is used to authenticate against Tank
api_tank_session="engine"
# The secret which is used to authenticate against Tank
api_tank_secret="rather-secret"
David Trattnig's avatar
David Trattnig committed
63
# The URL to get the health status 
64
api_tank_status="http://aura.local:8040/healthz/"
David Trattnig's avatar
David Trattnig committed
65
# The URL to get playlist details via Tank
David Trattnig's avatar
David Trattnig committed
66
api_tank_playlist="http://aura.local:8040/api/v1/playlists/${ID}"
David Trattnig's avatar
David Trattnig committed
67

David Trattnig's avatar
David Trattnig committed
68
69
70
## ENGINE-API ##

# Engine ID (1 or 2)
71
api_engine_number=1
David Trattnig's avatar
David Trattnig committed
72
73
# Engine API availability check
api_engine_status="http://localhost:8008/api/v1/ui/"
David Trattnig's avatar
David Trattnig committed
74
# Engine API endpoint to store playlogs
75
api_engine_store_playlog="http://localhost:8008/api/v1/playlog"
David Trattnig's avatar
David Trattnig committed
76
# Engine API endpoint to store clock information
77
api_engine_store_clock="http://localhost:8008/api/v1/clock"
David Trattnig's avatar
David Trattnig committed
78
# Engine API endpoint to store health information
79
api_engine_store_health="http://localhost:8008/api/v1/source/health/${ENGINE_NUMBER}"
David Trattnig's avatar
David Trattnig committed
80

David Trattnig's avatar
David Trattnig committed
81

David Trattnig's avatar
David Trattnig committed
82
[scheduling]
83

David Trattnig's avatar
David Trattnig committed
84
# How often should the calendar be fetched in seconds. This determines the time of the last changes applied, before a specific show aired
David Trattnig's avatar
David Trattnig committed
85
fetching_frequency=300
86
87
88
# The scheduling window defines when the entries of each timeslot are queued for play-out. The windows start at (timeslot.start - window_start) seconds
# and ends at (timeslot.end - window.end) seconds. Its also worth noting, that timeslots can only be deleted before the start of the window.                
scheduling_window_start=60
89
scheduling_window_end=60
David Trattnig's avatar
David Trattnig committed
90
# How many seconds before the actual schedule time the entry should be pre-rolled. Note to provide enough timeout for
91
92
93
# contents which take longer to load (big files, bad connectivity to streams etc.). If the planned start time is in
# the past the offset is ignored and the entry is played as soon as possible
preload_offset=15
David Trattnig's avatar
David Trattnig committed
94
95

# Sometimes it might take longer to get a stream connected. Here you can define a viable length.
96
# But note, that this may affect the preloading time (see `preload_offset`), hence affecting the 
David Trattnig's avatar
David Trattnig committed
97
# overall playout, it's delays and possible fallbacks
David Trattnig's avatar
David Trattnig committed
98
99
input_stream_retry_delay=1
input_stream_max_retries=10
100
input_stream_buffer=3.0
David Trattnig's avatar
David Trattnig committed
101

102

David Trattnig's avatar
David Trattnig committed
103
[fading]
104
# Sets the time how long we have to fade in and out, when we select another mixer input values are in seconds
David Trattnig's avatar
David Trattnig committed
105
106
107
fade_in_time="0.5"
fade_out_time="2.5"

108
# Liquidsoap execution delay in seconds; Crucial to keep things in sync
109
lqs_delay_offset=0.5
110

David Trattnig's avatar
David Trattnig committed
111
112
[user]
# the user and group under which this software will run
David Trattnig's avatar
David Trattnig committed
113
114
daemongroup="engineuser"
daemonuser="engineuser"
David Trattnig's avatar
David Trattnig committed
115

116
[audiosources]
117
audio_source_folder="/var/audio/source"
118
audio_source_extension=".flac"
119
audio_playlist_folder="/var/audio/playlist"