From da84d967b182dadd9ef701d54b732e121d87f55c Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sat, 15 Jul 2023 09:23:46 -0400 Subject: [PATCH] small fix --- src/invidious/routes/api/manifest.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/routes/api/manifest.cr b/src/invidious/routes/api/manifest.cr index 03c4c084..692b845a 100644 --- a/src/invidious/routes/api/manifest.cr +++ b/src/invidious/routes/api/manifest.cr @@ -175,7 +175,7 @@ module Invidious::Routes::API::Manifest xml.element("AdaptationSet", id: i, mimeType: mime_type, contentType: "image") do xml.element("SegmentTemplate", media: url, duration: duration, startNumber: "0") - xml.element("Representation", id: "thumbnails_#{id}", bandwidth: bandwidth, width: width, height: height) do + xml.element("Representation", id: "thumbnails_#{i}", bandwidth: bandwidth, width: width, height: height) do xml.element("EssentialProperty", schemeIdUri: "http://dashif.org/guidelines/thumbnail_tile", value: "#{storyboard_width}x#{storyboard_height}") end end