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 2d345d7..2a45538 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 c568a93..8bcab13 100644 --- a/src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs +++ b/src/N_m3u8DL-RE/DownloadManager/HTTPLiveRecordManager.cs @@ -198,6 +198,7 @@ namespace N_m3u8DL_RE.DownloadManager 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 280d0c6..21951fa 100644 --- a/src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs +++ b/src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs @@ -618,6 +618,7 @@ namespace N_m3u8DL_RE.DownloadManager 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 4064ed1..2458923 100644 --- a/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs +++ b/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs @@ -802,6 +802,7 @@ namespace N_m3u8DL_RE.DownloadManager }*/ var progress = AnsiConsole.Progress().AutoClear(true); + progress.AutoRefresh = DownloaderConfig.MyOptions.LogLevel != LogLevel.OFF; //进度条的列定义 progress.Columns(new ProgressColumn[]