mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-08 13:42:27 +05:30
Fix the missing p
in the quality labels.
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
parent
71a821a7e6
commit
f57aac5815
@ -126,7 +126,7 @@ module Invidious::JSONify::APIv1
|
|||||||
if height && width
|
if height && width
|
||||||
json.field "size", "#{width}x#{height}"
|
json.field "size", "#{width}x#{height}"
|
||||||
|
|
||||||
quality_label = "#{width > height ? height : width}"
|
quality_label = "#{width > height ? height : width}p"
|
||||||
|
|
||||||
if fps && fps > 30
|
if fps && fps > 30
|
||||||
quality_label += fps.to_s
|
quality_label += fps.to_s
|
||||||
@ -180,7 +180,7 @@ module Invidious::JSONify::APIv1
|
|||||||
if height && width
|
if height && width
|
||||||
json.field "size", "#{width}x#{height}"
|
json.field "size", "#{width}x#{height}"
|
||||||
|
|
||||||
quality_label = "#{width > height ? height : width}"
|
quality_label = "#{width > height ? height : width}p"
|
||||||
|
|
||||||
if fps && fps > 30
|
if fps && fps > 30
|
||||||
quality_label += fps.to_s
|
quality_label += fps.to_s
|
||||||
|
Loading…
Reference in New Issue
Block a user