Compare commits

...

2 Commits

Author SHA1 Message Date
absidue bd267e65b4
Merge 11a9fe3faf into b673695aa2 2024-04-21 12:58:14 +00:00
absidue 11a9fe3faf
Fix the missing `p` in the quality labels.
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2024-04-21 14:58:12 +02:00
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ module Invidious::JSONify::APIv1
if height && width
json.field "size", "#{width}x#{height}"
quality_label = "#{width > height ? height : width}"
quality_label = "#{width > height ? height : width}p"
if fps && fps > 30
quality_label += fps.to_s
@ -177,7 +177,7 @@ module Invidious::JSONify::APIv1
if height && width
json.field "size", "#{width}x#{height}"
quality_label = "#{width > height ? height : width}"
quality_label = "#{width > height ? height : width}p"
if fps && fps > 30
quality_label += fps.to_s