Invidious is an alternative front-end to YouTube
change lang to label
138138138a62adccd3d2e
diff --git a/src/invidious/routes/api/manifest.cr b/src/invidious/routes/api/manifest.crindex 476ff65a..b9f81622 100644--- a/src/invidious/routes/api/manifest.cr+++ b/src/invidious/routes/api/manifest.cr@@ -61,7 +61,7 @@ module Invidious::Routes::API::Manifestnext if mime_streams.empty?mime_streams.each do |fmt|- xml.element("AdaptationSet", id: i, mimeType: mime_type, startWithSAP: 1, subsegmentAlignment: true, lang: i.to_s) do+ xml.element("AdaptationSet", id: i, mimeType: mime_type, startWithSAP: 1, subsegmentAlignment: true, label: i.to_s) do# OTF streams aren't supported yet (See https://github.com/TeamNewPipe/NewPipe/issues/2415)next if !(fmt.has_key?("indexRange") && fmt.has_key?("initRange"))