summaryrefslogtreecommitdiff
path: root/src/modules/rtv
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-05-01 21:44:35 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-05-01 21:44:35 -0700
commitcb6c1863781b155b13b4b3d52676824cdbb4f568 (patch)
tree3314e61b9966bb4b20cc87c3caf275e871137362 /src/modules/rtv
parent17beb406f2033ef522b0aebee07bae64317fa8fe (diff)
modules/rtv: make "compose" the default channel
Also shortened the durations across the board, and defaulted snow to "none". With "compose" being another meta module, and the randomized settings, this actually gives a more interesting grand tour of everything possible.
Diffstat (limited to 'src/modules/rtv')
-rw-r--r--src/modules/rtv/rtv.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/rtv/rtv.c b/src/modules/rtv/rtv.c
index 501e47d..2500305 100644
--- a/src/modules/rtv/rtv.c
+++ b/src/modules/rtv/rtv.c
@@ -16,11 +16,11 @@
* - optionally persist module contexts so they resume rather than restart
*/
-#define RTV_SNOW_DURATION_SECS 1
-#define RTV_DURATION_SECS 15
-#define RTV_CAPTION_DURATION_SECS 5
-#define RTV_CONTEXT_DURATION_SECS 60
-#define RTV_DEFAULT_SNOW_MODULE "snow"
+#define RTV_SNOW_DURATION_SECS 0
+#define RTV_DURATION_SECS 4
+#define RTV_CONTEXT_DURATION_SECS 4
+#define RTV_CAPTION_DURATION_SECS 2
+#define RTV_DEFAULT_SNOW_MODULE "none"
typedef struct rtv_channel_t {
const til_module_t *module;
@@ -303,9 +303,9 @@ static int rtv_setup(const til_settings_t *settings, til_setting_t **res_setting
r = til_settings_get_and_describe_value(settings,
&(til_setting_desc_t){
- .name = "Colon-separated list of channel modules",
+ .name = "Colon-separated list of channel modules, \"all\" for all",
.key = "channels",
- .preferred = "all",
+ .preferred = "compose",
.annotations = NULL
},
&channels,
@@ -374,7 +374,7 @@ static int rtv_setup(const til_settings_t *settings, til_setting_t **res_setting
&(til_setting_desc_t){
.name = "Module for snow (\"blank\" for blanking, \"none\" to disable)",
.key = "snow_module",
- .preferred = "snow",
+ .preferred = RTV_DEFAULT_SNOW_MODULE,
.annotations = NULL
},
&snow_module,
© All Rights Reserved