Invidious is an alternative front-end to YouTube
Add back missing resolution field
absidue57e606cb43d4
diff --git a/src/invidious/jsonify/api_v1/video_json.cr b/src/invidious/jsonify/api_v1/video_json.crindex 7f17f35a..6e8c3a72 100644--- a/src/invidious/jsonify/api_v1/video_json.cr+++ b/src/invidious/jsonify/api_v1/video_json.cr@@ -125,6 +125,7 @@ module Invidious::JSONify::APIv1if height && widthjson.field "size", "#{width}x#{height}"+ json.field "resolution" "#{height}p"quality_label = "#{width > height ? height : width}p"@@ -179,6 +180,7 @@ module Invidious::JSONify::APIv1if height && widthjson.field "size", "#{width}x#{height}"+ json.field "resolution" "#{height}p"quality_label = "#{width > height ? height : width}p"