diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bf872c1..7b61eb19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed + +- Bug in dash storyboard + ## [0.41.8] - 2025-09-07 ### Fixed diff --git a/playlet-lib/src/components/Services/Dash/DashManifest.bs b/playlet-lib/src/components/Services/Dash/DashManifest.bs index 0169c105..b5661402 100644 --- a/playlet-lib/src/components/Services/Dash/DashManifest.bs +++ b/playlet-lib/src/components/Services/Dash/DashManifest.bs @@ -219,12 +219,6 @@ class DashManifest continue for end if - templateUrl = storyboard.templateUrl - if templateUrl.Instr("$M") = -1 - LogWarnNoTelemetry("Invalid storyboard url: url does not contain $M:", templateUrl) - continue for - end if - storyboardWidth = storyboard.storyboardWidth storyboardHeight = storyboard.storyboardHeight storyboardCount = storyboard.storyboardCount @@ -240,12 +234,12 @@ class DashManifest end if end if - intervalInSeconds = interval \ 1000 + intervalInSeconds = interval / 1000.0 ' YouTube template uses the var $M for tile pages ' DASH-IF uses $Number$ in the SegmentTemplate ' https://dashif.org/docs/DASH-IF-IOP-v4.3.pdf - url = templateUrl.replace("$M", "$Number$") + url = storyboard.templateUrl.replace("$M", "$Number$") tilesPerPage = storyboardWidth * storyboardHeight duration = tilesPerPage * intervalInSeconds