diff options
author | Keuin <[email protected]> | 2022-09-12 02:59:36 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-09-12 02:59:36 +0800 |
commit | 32fbadfff7205f94a5089ec8ff2fc1cef30d325d (patch) | |
tree | 5a2b633a4e338402960cc3b4b1918ecb26f77e23 /recording/config.go | |
parent | 6bbb50f7a400767a8d2ff9b6982099b538203b83 (diff) |
Feature: use alternative file extension name when the downloading is not completed.v0.2.0
Diffstat (limited to 'recording/config.go')
-rw-r--r-- | recording/config.go | 5 |
1 files changed, 3 insertions, 2 deletions
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 { |