fix(invidious): fix float rendering (#5783)

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Stavros Kois 2022-12-25 16:11:37 +02:00 committed by GitHub
parent df06e2b3c7
commit 0b4bba97d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -25,7 +25,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/invidious
- https://github.com/iv-org/invidious
- https://docs.invidious.io/installation/#docker
version: 1.0.1
version: 1.0.2
annotations:
truecharts.org/catagories: |
- media

View File

@ -164,7 +164,11 @@ stringData:
# Video Playback Settigns
quality: {{ $vVidPlay.quality }}
quality_dash: {{ $vVidPlay.quality_dash }}
{{- if not (contains "." (toString $vVidPlay.speed)) }}
speed: {{ printf "%s.00" (toString $vVidPlay.speed) }}
{{- else }}
speed: {{ $vVidPlay.speed | float64 }}
{{- end }}
volume: {{ $vVidPlay.volume }}
vr_mode: {{ $vVidPlay.vr_mode }}

View File

@ -91,7 +91,7 @@ invidious:
video_playback_settings:
quality: hd720
quality_dash: auto
speed: 1.25
speed: 1.00
volume: 100
vr_mode: true
subscription_feed: