sample-development.engine.ini 4.1 KB
Newer Older
David Trattnig's avatar
David Trattnig committed
1

David Trattnig's avatar
David Trattnig committed
2
###################
3
# Engine Settings #
David Trattnig's avatar
David Trattnig committed
4
5
###################

David Trattnig's avatar
David Trattnig committed
6

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


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

21
22
23
24
# 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"
25
26
# Set to "true" if you want to notify admins about incidents, otherwise "false"
mail_admin_enabled="true"
27
28
# If you want to address multiple administrators separate their emails by space
admin_mail="david@subsquare.at"
29
# The FROM email address used when sending
David Trattnig's avatar
David Trattnig committed
30
from_mail="monitoring@aura.engine"
31
32
# A subject prefix allows applying filter rules in your mail client
mailsubject_prefix="[AURA Engine]"
33

David Trattnig's avatar
David Trattnig committed
34
# Server where heartbeat info is sent to
David Trattnig's avatar
Typo.    
David Trattnig committed
35
heartbeat_server = "127.0.0.1"   
David Trattnig's avatar
David Trattnig committed
36
37
38
39
# 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
40

41
logdir="/home/username/code/aura/engine/logs"
42
# Possible values: debug, info, warning, error, critical
43
44
loglevel="info"

45

46
47
[api]

David Trattnig's avatar
David Trattnig committed
48
49
50
## STEERING ##

# The URL to get the health status 
51
api_steering_status="http://localhost:8000/api/v1/"
52
53
54
# The URL to get the Calendar via Steering
api_steering_calendar="http://localhost:8000/api/v1/playout"

David Trattnig's avatar
David Trattnig committed
55
56
## TANK ##

57
58
59
60
# 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
61
# The URL to get the health status 
62
api_tank_status="http://localhost:8040/healthz/"
David Trattnig's avatar
David Trattnig committed
63
# The URL to get playlist details via Tank
David Trattnig's avatar
David Trattnig committed
64
api_tank_playlist="http://localhost:8040/api/v1/playlists/${ID}"
David Trattnig's avatar
David Trattnig committed
65

David Trattnig's avatar
David Trattnig committed
66
67
68
## ENGINE-API ##

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

David Trattnig's avatar
David Trattnig committed
79

David Trattnig's avatar
David Trattnig committed
80
[scheduling]
81

David Trattnig's avatar
David Trattnig committed
82
# How often should the calendar be fetched in seconds. This determines the time of the last changes applied, before a specific show aired
83
fetching_frequency=30
84
85
86
87
# 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
scheduling_window_end=60
David Trattnig's avatar
David Trattnig committed
88
# How many seconds before the actual schedule time the entry should be pre-rolled. Note to provide enough timeout for
89
90
91
# 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
92
93

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

100

David Trattnig's avatar
David Trattnig committed
101
[fading]
102
# 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
103
104
105
fade_in_time="0.5"
fade_out_time="2.5"

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

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

[socket]
115
socketdir="/home/username/code/aura/engine/src/liquidsoap"
David Trattnig's avatar
David Trattnig committed
116

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