From e3adc70ab5bc76bc635b3acbf9b8f6457afd93dc Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Tue, 16 Apr 2024 12:06:20 +0200 Subject: [PATCH] add help text --- assets/ffplayout.yml | 2 +- lib/src/utils/config.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/ffplayout.yml b/assets/ffplayout.yml index aedbc527..b6f8d808 100644 --- a/assets/ffplayout.yml +++ b/assets/ffplayout.yml @@ -98,7 +98,7 @@ playlist: help_text: > 'path' can be a path to a single file, or a directory. For directory put only the root folder, for example '/playlists', subdirectories are read by the - script. Subdirectories needs this structure '/playlists/2018/01'. 'day_start' + program. Subdirectories needs this structure '/playlists/2018/01'. 'day_start' means at which time the playlist should start, leave day_start blank when playlist should always start at the begin. 'length' represent the target length from playlist, when is blank real length will not consider. 'infinit: true' works with diff --git a/lib/src/utils/config.rs b/lib/src/utils/config.rs index 4e881550..770af394 100644 --- a/lib/src/utils/config.rs +++ b/lib/src/utils/config.rs @@ -329,6 +329,7 @@ pub struct Text { #[derive(Debug, Default, Serialize, Deserialize, Clone)] pub struct Task { + pub help_text: String, pub enable: bool, pub path: PathBuf, }