Fix the missing `p` in the quality labels.

Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
absidue 2024-04-21 14:58:12 +02:00 committed by GitHub
parent d763b2abd6
commit 11a9fe3faf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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