From a7bba3d22947d95e66d1c758e608bf660403d7d5 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Sun, 15 Oct 2023 00:04:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=BF=9B=E5=BA=A6=E6=9D=A1?= =?UTF-8?q?=20AutoRefresh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/nilaoda/N_m3u8DL-RE/issues/162#issuecomment-1761716690 --- src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs | 2 +- src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs | 1 + src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs | 1 + src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs b/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs index 2d345d72..2a455386 100644 --- a/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs +++ b/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs @@ -18,7 +18,7 @@ namespace N_m3u8DL_RE.CommandLine { internal partial class CommandInvoker { - public const string VERSION_INFO = "N_m3u8DL-RE (Beta version) 20230820"; + public const string VERSION_INFO = "N_m3u8DL-RE (Beta version) 20231015"; [GeneratedRegex("((best|worst)\\d*|all)")] private static partial Regex ForStrRegex(); diff --git a/src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs b/src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs index c568a93a..8bcab139 100644 --- a/src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs +++ b/src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs @@ -198,6 +198,7 @@ public async Task StartRecordAsync() ConcurrentDictionary Results = new(); var progress = AnsiConsole.Progress().AutoClear(true); + progress.AutoRefresh = DownloaderConfig.MyOptions.LogLevel != LogLevel.OFF; //进度条的列定义 progress.Columns(new ProgressColumn[] diff --git a/src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs b/src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs index 280d0c63..21951fa2 100644 --- a/src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs +++ b/src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs @@ -618,6 +618,7 @@ public async Task StartDownloadAsync() ConcurrentDictionary Results = new(); var progress = AnsiConsole.Progress().AutoClear(true); + progress.AutoRefresh = DownloaderConfig.MyOptions.LogLevel != LogLevel.OFF; //进度条的列定义 progress.Columns(new ProgressColumn[] diff --git a/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs b/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs index 4064ed12..24589231 100644 --- a/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs +++ b/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs @@ -802,6 +802,7 @@ public async Task StartRecordAsync() }*/ var progress = AnsiConsole.Progress().AutoClear(true); + progress.AutoRefresh = DownloaderConfig.MyOptions.LogLevel != LogLevel.OFF; //进度条的列定义 progress.Columns(new ProgressColumn[]