优化加载playlist逻辑 fix #23
This commit is contained in:
parent
aee8356660
commit
78a07e20ce
|
@ -246,8 +246,8 @@ namespace N_m3u8DL_RE
|
||||||
if (!selectedStreams.Any())
|
if (!selectedStreams.Any())
|
||||||
throw new Exception(ResString.noStreamsToDownload);
|
throw new Exception(ResString.noStreamsToDownload);
|
||||||
|
|
||||||
//一个以上的话,需要手动重新加载playlist
|
//选中流中若有没加载出playlist的,加载playlist
|
||||||
if (lists.Count() > 1)
|
if (selectedStreams.Any(s => s.Playlist == null))
|
||||||
await extractor.FetchPlayListAsync(selectedStreams);
|
await extractor.FetchPlayListAsync(selectedStreams);
|
||||||
|
|
||||||
//无法识别的加密方式,自动开启二进制合并
|
//无法识别的加密方式,自动开启二进制合并
|
||||||
|
|
Loading…
Reference in New Issue