From aea058dfbef19e667065f795a0049f61c164fc1b Mon Sep 17 00:00:00 2001 From: nilaoda Date: Wed, 6 Jul 2022 14:05:45 +0800 Subject: [PATCH] Update Program.cs --- src/N_m3u8DL-RE/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/N_m3u8DL-RE/Program.cs b/src/N_m3u8DL-RE/Program.cs index af9fb47..ad68bce 100644 --- a/src/N_m3u8DL-RE/Program.cs +++ b/src/N_m3u8DL-RE/Program.cs @@ -80,7 +80,7 @@ namespace N_m3u8DL_RE //展示交互式选择框 var selectedStreams = PromptUtil.SelectStreams(lists); //一个以上的话,需要手动重新加载playlist - if (selectedStreams.Count() > 1) + if (lists.Count() > 1) await extractor.FetchPlayListAsync(selectedStreams); Logger.Warn(ResString.writeJson); await File.WriteAllTextAsync("meta_selected.json", GlobalUtil.ConvertToJson(selectedStreams), Encoding.UTF8);