From 05b8adfbb9aba2e3928bbd39ce8aedead654afde Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Thu, 4 Jun 2020 21:10:56 +0200
Subject: [PATCH] Configuration for station fallback ID.

---
 configuration/sample-development.engine.ini | 4 +++-
 configuration/sample-docker.engine.ini      | 2 ++
 configuration/sample-production.engine.ini  | 2 ++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/configuration/sample-development.engine.ini b/configuration/sample-development.engine.ini
index 3808b251..e8237fb3 100644
--- a/configuration/sample-development.engine.ini
+++ b/configuration/sample-development.engine.ini
@@ -63,7 +63,7 @@ api_port=3333
 
 [scheduling]
 # How often should the calendar be fetched in seconds. This determines the time of the last changes applied, before a specific show aired
-fetching_frequency=300
+fetching_frequency=60
 # How many seconds before the actual schedule time the entry should be pre-rolled. Note to provide enough timeout for
 # contents which take longer to load (big files, bad connectivity to streams etc.)
 preroll_offset=15
@@ -71,6 +71,8 @@ preroll_offset=15
 # is considerable higher than the `preroll_offset` plus any additional time for pro-active fallback
 # handling, being able to avoid issues with concurrent changes or timings.
 scheduling_window_offset=120
+# Playlist ID which is used for station fallbacks. Only used if no station fallback ID is provided via Steering. "0" means it is disabled.
+scheduling_station_fallback_id=0
 
 # Sometimes it might take longer to get a stream connected. Here you can define a viable length.
 # But note, that this may affect the preroll time (see `preroll_offset`), hence affecting the 
diff --git a/configuration/sample-docker.engine.ini b/configuration/sample-docker.engine.ini
index 3eea6c06..808e214c 100644
--- a/configuration/sample-docker.engine.ini
+++ b/configuration/sample-docker.engine.ini
@@ -71,6 +71,8 @@ preroll_offset=15
 # is considerable higher than the `preroll_offset` plus any additional time for pro-active fallback
 # handling, being able to avoid issues with concurrent changes or timings.
 scheduling_window_offset=180
+# Playlist ID which is used for station fallbacks. Only used if no station fallback ID is provided via Steering. "0" means it is disabled.
+scheduling_station_fallback_id=0
 
 # Sometimes it might take longer to get a stream connected. Here you can define a viable length.
 # But note, that this may affect the preroll time (see `preroll_offset`), hence affecting the 
diff --git a/configuration/sample-production.engine.ini b/configuration/sample-production.engine.ini
index a6a93454..361791dc 100644
--- a/configuration/sample-production.engine.ini
+++ b/configuration/sample-production.engine.ini
@@ -71,6 +71,8 @@ preroll_offset=15
 # is considerable higher than the `preroll_offset` plus any additional time for pro-active fallback
 # handling, being able to avoid issues with concurrent changes or timings.
 scheduling_window_offset=180
+# Playlist ID which is used for station fallbacks. Only used if no station fallback ID is provided via Steering. "0" means it is disabled.
+scheduling_station_fallback_id=0
 
 # Sometimes it might take longer to get a stream connected. Here you can define a viable length.
 # But note, that this may affect the preroll time (see `preroll_offset`), hence affecting the 
-- 
GitLab