Invidious is an alternative front-end to YouTube
It's OTF, not OFT
Samantaz Foxb7f0b054b85e
diff --git a/src/invidious/routes/api/manifest.cr b/src/invidious/routes/api/manifest.crindex d77389a8..8bc36946 100644--- a/src/invidious/routes/api/manifest.cr+++ b/src/invidious/routes/api/manifest.cr@@ -62,7 +62,7 @@ module Invidious::Routes::API::Manifestxml.element("AdaptationSet", id: i, mimeType: mime_type, startWithSAP: 1, subsegmentAlignment: true) domime_streams.each do |fmt|- # OFT streams aren't supported yet (See https://github.com/TeamNewPipe/NewPipe/issues/2415)+ # OTF streams aren't supported yet (See https://github.com/TeamNewPipe/NewPipe/issues/2415)next if !(fmt.has_key?("indexRange") && fmt.has_key?("initRange"))codecs = fmt["mimeType"].as_s.split("codecs=")[1].strip('"')@@ -93,7 +93,7 @@ module Invidious::Routes::API::Manifestheights = [] of Int32xml.element("AdaptationSet", id: i, mimeType: mime_type, startWithSAP: 1, subsegmentAlignment: true, scanType: "progressive") domime_streams.each do |fmt|- # OFT streams aren't supported yet (See https://github.com/TeamNewPipe/NewPipe/issues/2415)+ # OTF streams aren't supported yet (See https://github.com/TeamNewPipe/NewPipe/issues/2415)next if !(fmt.has_key?("indexRange") && fmt.has_key?("initRange"))codecs = fmt["mimeType"].as_s.split("codecs=")[1].strip('"')diff --git a/src/invidious/videos.cr b/src/invidious/videos.crindex cb860032..27c2b6d1 100644--- a/src/invidious/videos.cr+++ b/src/invidious/videos.cr@@ -374,7 +374,7 @@ struct Videojson.array doself.adaptive_fmts.each do |fmt|json.object do- # Only available on regular videos, not livestreams/OFT streams+ # Only available on regular videos, not livestreams/OTF streamsif init_range = fmt["initRange"]?json.field "init", "#{init_range["start"]}-#{init_range["end"]}"end