From 8a8df112114621827087477bebbc7c7f993206e0 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Tue, 5 Jul 2022 23:01:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=9D=9Emaster=E7=9A=84?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE/Program.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/N_m3u8DL-RE/Program.cs b/src/N_m3u8DL-RE/Program.cs index 2d09737..af9fb47 100644 --- a/src/N_m3u8DL-RE/Program.cs +++ b/src/N_m3u8DL-RE/Program.cs @@ -79,8 +79,9 @@ namespace N_m3u8DL_RE //展示交互式选择框 var selectedStreams = PromptUtil.SelectStreams(lists); - //加载playlist - await extractor.FetchPlayListAsync(selectedStreams); + //一个以上的话,需要手动重新加载playlist + if (selectedStreams.Count() > 1) + await extractor.FetchPlayListAsync(selectedStreams); Logger.Warn(ResString.writeJson); await File.WriteAllTextAsync("meta_selected.json", GlobalUtil.ConvertToJson(selectedStreams), Encoding.UTF8); Logger.Info(ResString.selectedStream);