mirror of
https://github.com/NohamR/N_m3u8DL-RE.git
synced 2025-07-09 13:37:03 +00:00
正确写入Index
This commit is contained in:
parent
76acf6c421
commit
386c923802
@ -230,6 +230,7 @@ namespace N_m3u8DL_RE.Parser.Extractor
|
||||
MediaSegment mediaSegment = new();
|
||||
mediaSegment.Duration = Convert.ToDouble(duration);
|
||||
mediaSegment.Url = PreProcessUrl(mediaUrl);
|
||||
mediaSegment.Index = segmentIndex;
|
||||
if (mediaRange != null)
|
||||
{
|
||||
var (start, expect) = ParserUtil.ParseRange(mediaRange);
|
||||
|
Loading…
x
Reference in New Issue
Block a user