From cca807b2c14c700c5bcb7a436e188facb5edaf6a Mon Sep 17 00:00:00 2001 From: nilaoda Date: Wed, 28 Sep 2022 00:04:26 +0800 Subject: [PATCH] Update SimpleLiveRecordManager2.cs --- src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs b/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs index eab733c..3d4c882 100644 --- a/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs +++ b/src/N_m3u8DL-RE/DownloadManager/SimpleLiveRecordManager2.cs @@ -600,7 +600,7 @@ namespace N_m3u8DL_RE.DownloadManager ConcurrentDictionary SpeedContainerDic = new(); //速度计算 ConcurrentDictionary Results = new(); //取最后15个分片 - var minIndex = SelectedSteams.Max(s => s.Playlist!.MediaParts.Min(p => p.MediaSegments.Min(s => s.Index))); + var minIndex = SelectedSteams.Max(s => s.Playlist!.MediaParts[0].MediaSegments.Min(s => s.Index)); foreach (var item in SelectedSteams) { foreach (var part in item.Playlist!.MediaParts)