misc(core): fix things

This commit is contained in:
genteure 2023-02-01 21:05:04 +08:00
parent 6376c9ac4f
commit 3b83a16bc7
2 changed files with 7 additions and 0 deletions

View File

@ -105,6 +105,7 @@ export const data: Array<ConfigEntry> = [
name: "是否在视频文件写入直播信息 metadata",
type: "bool",
configType: "globalOnly",
advancedConfig: true,
default: true
},
{

View File

@ -79,6 +79,7 @@ namespace BililiveRecorder.Core.Config.V3
public BililiveRecorder.Core.Config.DanmakuTransportMode DanmakuTransport { get; }
public string FileNameRecordTemplate { get; }
public bool FlvProcessorSplitOnScriptTag { get; }
public bool FlvWriteMetadata { get; }
public string LiveApiHost { get; }
public BililiveRecorder.Core.Config.AllowedAddressFamily NetworkTransportAllowedAddressFamily { get; }
public bool NetworkTransportUseSystemProxy { get; }
@ -114,12 +115,14 @@ namespace BililiveRecorder.Core.Config.V3
public BililiveRecorder.Core.Config.DanmakuTransportMode DanmakuTransport { get; set; }
public string? FileNameRecordTemplate { get; set; }
public bool FlvProcessorSplitOnScriptTag { get; set; }
public bool FlvWriteMetadata { get; set; }
public bool HasCookie { get; set; }
public bool HasCuttingMode { get; set; }
public bool HasCuttingNumber { get; set; }
public bool HasDanmakuTransport { get; set; }
public bool HasFileNameRecordTemplate { get; set; }
public bool HasFlvProcessorSplitOnScriptTag { get; set; }
public bool HasFlvWriteMetadata { get; set; }
public bool HasLiveApiHost { get; set; }
public bool HasNetworkTransportAllowedAddressFamily { get; set; }
public bool HasNetworkTransportUseSystemProxy { get; set; }
@ -159,6 +162,8 @@ namespace BililiveRecorder.Core.Config.V3
public HierarchicalPropertyDefault.Optional<string?> OptionalFileNameRecordTemplate { get; set; }
[Newtonsoft.Json.JsonProperty("FlvProcessorSplitOnScriptTag")]
public HierarchicalPropertyDefault.Optional<bool> OptionalFlvProcessorSplitOnScriptTag { get; set; }
[Newtonsoft.Json.JsonProperty("FlvWriteMetadata")]
public HierarchicalPropertyDefault.Optional<bool> OptionalFlvWriteMetadata { get; set; }
[Newtonsoft.Json.JsonProperty("LiveApiHost")]
public HierarchicalPropertyDefault.Optional<string?> OptionalLiveApiHost { get; set; }
[Newtonsoft.Json.JsonProperty("NetworkTransportAllowedAddressFamily")]
@ -246,6 +251,7 @@ namespace BililiveRecorder.Core.Config.V3
public BililiveRecorder.Core.Config.DanmakuTransportMode DanmakuTransport { get; }
public string? FileNameRecordTemplate { get; }
public bool FlvProcessorSplitOnScriptTag { get; set; }
public bool FlvWriteMetadata { get; }
public bool HasAutoRecord { get; set; }
public bool HasCuttingMode { get; set; }
public bool HasCuttingNumber { get; set; }