feat: added destination_time option and deprecated total_time (#399)

`destination_time` accepts one of `total`, `playtime-remaining` (scaled by the current speed), `time-remaining` (remaining length of file).

`total_time` is deprecated, but still works as expected.
This commit is contained in:
Michael
2022-12-27 10:17:12 +02:00
committed by GitHub
parent ea371b5740
commit e66c8fbf88
3 changed files with 21 additions and 10 deletions

View File

@@ -163,8 +163,8 @@ background=000000
background_text=ffffff
# Use only bold font weight throughout the whole UI
font_bold=no
# Show total time instead of time remaining
total_time=no
# One of `total`, `playtime-remaining` (scaled by the current speed), `time-remaining` (remaining length of file)
destination_time=playtime-remaining
# Display sub second fraction in timestamps up to this precision
time_precision=0
# Display stream's buffered time in timeline if it's lower than this amount of seconds, 0 to disable