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:
@@ -333,8 +333,8 @@ function Timeline:render()
|
||||
end
|
||||
|
||||
-- End time
|
||||
if state.duration_or_remaining_time_human then
|
||||
draw_timeline_text(bbx - spacing, fcy, 6, state.duration_or_remaining_time_human, time_opts)
|
||||
if state.destination_time_human then
|
||||
draw_timeline_text(bbx - spacing, fcy, 6, state.destination_time_human, time_opts)
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user