- Add support for display time windows for images in folder.options

- the times are defined in a JSON array with start and end times, if inside the window the image is valid to display
This commit is contained in:
Alfred Reynolds
2021-08-12 17:40:56 +12:00
parent 6784a5dcb3
commit de7af88e53
5 changed files with 78 additions and 4 deletions

View File

@@ -90,10 +90,21 @@ When using the default or recursive folder mode we support having per folder dis
"aspect" : "m",
"rotationSeconds" : 300,
"opacity" : 200,
"blur" : 20
"blur" : 20,
"times": [
{
"start": "08:00",
"end": "10:00"
},
{
"start": "17:00",
"end": "19:00"
}
]
}
```
See the `Configuration File` section for details of each setting.
* `times` : times is a JSON array of start and end times in which it is valid to display this image. The time is in the format HH:MM:SS and is based on the systems local time. If `start` isn't defined then it defaults to the start of the day, if `end` isn't default it defaults to the end of the day.
## Dependencies