正确写入Index
This commit is contained in:
parent
76acf6c421
commit
386c923802
|
@ -230,6 +230,7 @@ namespace N_m3u8DL_RE.Parser.Extractor
|
||||||
MediaSegment mediaSegment = new();
|
MediaSegment mediaSegment = new();
|
||||||
mediaSegment.Duration = Convert.ToDouble(duration);
|
mediaSegment.Duration = Convert.ToDouble(duration);
|
||||||
mediaSegment.Url = PreProcessUrl(mediaUrl);
|
mediaSegment.Url = PreProcessUrl(mediaUrl);
|
||||||
|
mediaSegment.Index = segmentIndex;
|
||||||
if (mediaRange != null)
|
if (mediaRange != null)
|
||||||
{
|
{
|
||||||
var (start, expect) = ParserUtil.ParseRange(mediaRange);
|
var (start, expect) = ParserUtil.ParseRange(mediaRange);
|
||||||
|
|
Loading…
Reference in New Issue