:memo::white_check_mark:🔧 - Make timestamp style config global

Fixes #1656
This commit is contained in:
drinfernoo
2021-08-31 11:11:10 -07:00
parent c4a2014097
commit f571473bf7
3 changed files with 110 additions and 0 deletions
+31
View File
@@ -242,4 +242,35 @@ Can be overridden at the camera level. See the [cameras configuration page](came
rtmp:
# Optional: Enable the RTMP stream (default: True)
enabled: True
```
## `timestamp_style`
Can be overridden at the camera level. See the [cameras configuration page](cameras.md) for more information about timestamp styling.
```yaml
# Optional: in-feed timestamp style configuration
timestamp_style:
# Optional: Position of the timestamp (default: shown below)
# "tl" (top left), "tr" (top right), "bl" (bottom left), "br" (bottom right)
position: "tl"
# Optional: Format specifier conform to the Python package "datetime" (default: shown below)
# Additional Examples:
# german: "%d.%m.%Y %H:%M:%S"
format: "%m/%d/%Y %H:%M:%S"
# Optional: Color of font
color:
# All Required when color is specified (default: shown below)
red: 255
green: 255
blue: 255
# Optional: Scale factor for font (default: shown below)
scale: 1.0
# Optional: Line thickness of font (default: shown below)
thickness: 2
# Optional: Effect of lettering (default: shown below)
# None (No effect),
# "solid" (solid background in inverse color of font)
# "shadow" (shadow for font)
effect: None
```