summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-11-18 19:34:26 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-11-18 19:34:26 -0800
commit6c657a9579c417395e7fa91f6f120541c69d089b (patch)
tree7aca2280dbf889264dbf9eff697a7ea12470c637 /src/modules
parent3008ec783740e64d9a4b900e870ae21282a20ce2 (diff)
*: apply TIL_MODULE_AUDIO_ONLY where appropriate
This changes modules/playit from experimental to "audio only". Several other modules now incorporate the new flag into their excludes to prevent inclusion where inappropriate.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/checkers/checkers.c2
-rw-r--r--src/modules/montage/montage.c4
-rw-r--r--src/modules/playit/playit.c2
-rw-r--r--src/modules/roto/roto.c2
-rw-r--r--src/modules/rtv/rtv.c4
5 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/checkers/checkers.c b/src/modules/checkers/checkers.c
index 0e11d72..59421c3 100644
--- a/src/modules/checkers/checkers.c
+++ b/src/modules/checkers/checkers.c
@@ -534,7 +534,7 @@ static int checkers_fill_module_setup(const til_settings_t *settings, til_settin
res_setup,
"Filled cell module name",
CHECKERS_DEFAULT_FILL_MODULE,
- (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC),
+ (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC | TIL_MODULE_AUDIO_ONLY),
NULL);
}
diff --git a/src/modules/montage/montage.c b/src/modules/montage/montage.c
index 7dba5a6..7d20389 100644
--- a/src/modules/montage/montage.c
+++ b/src/modules/montage/montage.c
@@ -208,7 +208,7 @@ static const char * montage_tiles_setting_override(const char *value)
if (strcasecmp(value, "all"))
return value;
- return til_get_module_names((TIL_MODULE_HERMETIC|TIL_MODULE_EXPERIMENTAL|TIL_MODULE_BUILTIN), exclusions);
+ return til_get_module_names((TIL_MODULE_HERMETIC|TIL_MODULE_EXPERIMENTAL|TIL_MODULE_BUILTIN|TIL_MODULE_AUDIO_ONLY), exclusions);
}
@@ -230,7 +230,7 @@ static int montage_tile_module_setup(const til_settings_t *settings, til_setting
res_setup,
"Tile module name",
MONTAGE_DEFAULT_TILE_MODULE,
- (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC),
+ (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC | TIL_MODULE_AUDIO_ONLY),
NULL);
}
diff --git a/src/modules/playit/playit.c b/src/modules/playit/playit.c
index 191bd41..e70a631 100644
--- a/src/modules/playit/playit.c
+++ b/src/modules/playit/playit.c
@@ -144,7 +144,7 @@ til_module_t playit_module = {
.name = "playit",
.description = ".IT tracked music file player",
.author = "Vito Caputo <vcaputo@pengaru.com>",
- .flags = TIL_MODULE_EXPERIMENTAL,
+ .flags = TIL_MODULE_AUDIO_ONLY,
};
diff --git a/src/modules/roto/roto.c b/src/modules/roto/roto.c
index 4d97fa5..f58c797 100644
--- a/src/modules/roto/roto.c
+++ b/src/modules/roto/roto.c
@@ -425,7 +425,7 @@ static int roto_fill_module_setup(const til_settings_t *settings, til_setting_t
res_setup,
"Fill module name",
ROTO_DEFAULT_FILL_MODULE,
- (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC),
+ (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC | TIL_MODULE_AUDIO_ONLY),
NULL);
}
diff --git a/src/modules/rtv/rtv.c b/src/modules/rtv/rtv.c
index f0dd9dd..195f05e 100644
--- a/src/modules/rtv/rtv.c
+++ b/src/modules/rtv/rtv.c
@@ -245,7 +245,7 @@ static int rtv_should_skip_module(const rtv_setup_t *setup, const til_module_t *
*/
if (!setup->channels[0]) {
/* for "all" skip these, but you can still explicitly name them. */
- if ((module->flags & (TIL_MODULE_HERMETIC | TIL_MODULE_EXPERIMENTAL | TIL_MODULE_BUILTIN)))
+ if ((module->flags & (TIL_MODULE_HERMETIC | TIL_MODULE_EXPERIMENTAL | TIL_MODULE_BUILTIN | TIL_MODULE_AUDIO_ONLY)))
return 1;
return 0;
@@ -362,7 +362,7 @@ static int rtv_snow_module_setup(const til_settings_t *settings, til_setting_t *
res_setup,
"Snow module name",
RTV_DEFAULT_SNOW_MODULE,
- (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC),
+ (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC | TIL_MODULE_AUDIO_ONLY),
NULL);
}
© All Rights Reserved