add help text

This commit is contained in:
jb-alvarado 2024-04-16 12:06:20 +02:00
parent 19494657bb
commit e3adc70ab5
2 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,7 @@ playlist:
help_text: > help_text: >
'path' can be a path to a single file, or a directory. For directory put '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 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 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 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 playlist, when is blank real length will not consider. 'infinit: true' works with

View File

@ -329,6 +329,7 @@ pub struct Text {
#[derive(Debug, Default, Serialize, Deserialize, Clone)] #[derive(Debug, Default, Serialize, Deserialize, Clone)]
pub struct Task { pub struct Task {
pub help_text: String,
pub enable: bool, pub enable: bool,
pub path: PathBuf, pub path: PathBuf,
} }