From 32fbadfff7205f94a5089ec8ff2fc1cef30d325d Mon Sep 17 00:00:00 2001 From: Keuin Date: Mon, 12 Sep 2022 02:59:36 +0800 Subject: Feature: use alternative file extension name when the downloading is not completed. --- recording/config.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'recording/config.go') diff --git a/recording/config.go b/recording/config.go index 76a6f3a..ff3ae2a 100644 --- a/recording/config.go +++ b/recording/config.go @@ -21,8 +21,9 @@ type TransportConfig struct { } type DownloadConfig struct { - SaveDirectory string `mapstructure:"save_directory"` - DiskWriteBufferBytes int `mapstructure:"disk_write_buffer_bytes"` + SaveDirectory string `mapstructure:"save_directory"` + DiskWriteBufferBytes int `mapstructure:"disk_write_buffer_bytes"` + UseSpecialExtNameBeforeFinishing bool `mapstructure:"use_special_ext_name_when_downloading"` } type WatchConfig struct { -- cgit v1.2.3