diff --git a/CHANGELOG.md b/CHANGELOG.md index bacb87cf..2abe23dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing worth mentioning yet. +### Fixed + +- Another mistake in OTF streams ## [0.43.8] - 2025-11-07 diff --git a/playlet-lib/src/components/Services/Innertube/OTFSegmentInfo.bs b/playlet-lib/src/components/Services/Innertube/OTFSegmentInfo.bs index eab13e93..277c7d4a 100644 --- a/playlet-lib/src/components/Services/Innertube/OTFSegmentInfo.bs +++ b/playlet-lib/src/components/Services/Innertube/OTFSegmentInfo.bs @@ -108,18 +108,18 @@ namespace Innertube return true end if - segmentDurations = OTFParseFileForSegmentInfo(file, errors) + segmentDurations = OTFParseFileForSegmentDurations(file, errors) if segmentDurations = invalid - errors.message += `Failed to parse segment info for itag ${format.itag}.\n` + errors.message += `Failed to parse segment durations for itag ${format.itag}.\n` errors.message += `Headers: ${ToString(response.Headers())}\n` return true end if - format.otfSegmentInfo = segmentDurations + format["otfSegmentDurations"] = segmentDurations return true end function - function OTFParseFileForSegmentInfo(filePath as string, errors as object) as dynamic + function OTFParseFileForSegmentDurations(filePath as string, errors as object) as dynamic buffer = CreateObject("roByteArray") buffer.FromAsciiString("Segment-Durations-Ms:")