Update Program.cs
This commit is contained in:
parent
a4f515755b
commit
aea058dfbe
|
@ -80,7 +80,7 @@ namespace N_m3u8DL_RE
|
||||||
//展示交互式选择框
|
//展示交互式选择框
|
||||||
var selectedStreams = PromptUtil.SelectStreams(lists);
|
var selectedStreams = PromptUtil.SelectStreams(lists);
|
||||||
//一个以上的话,需要手动重新加载playlist
|
//一个以上的话,需要手动重新加载playlist
|
||||||
if (selectedStreams.Count() > 1)
|
if (lists.Count() > 1)
|
||||||
await extractor.FetchPlayListAsync(selectedStreams);
|
await extractor.FetchPlayListAsync(selectedStreams);
|
||||||
Logger.Warn(ResString.writeJson);
|
Logger.Warn(ResString.writeJson);
|
||||||
await File.WriteAllTextAsync("meta_selected.json", GlobalUtil.ConvertToJson(selectedStreams), Encoding.UTF8);
|
await File.WriteAllTextAsync("meta_selected.json", GlobalUtil.ConvertToJson(selectedStreams), Encoding.UTF8);
|
||||||
|
|
Loading…
Reference in New Issue