From 7f1906d58bb463d8daff5479cd43708cc51fbd6d Mon Sep 17 00:00:00 2001 From: Mark Beamer Jr Date: Mon, 3 Aug 2020 01:19:41 -0400 Subject: [PATCH] change FPS to float from int --- downloader/ytdl/Video.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/downloader/ytdl/Video.go b/downloader/ytdl/Video.go index 0c8943d..079d557 100644 --- a/downloader/ytdl/Video.go +++ b/downloader/ytdl/Video.go @@ -30,7 +30,7 @@ type YtdlVideo struct { Abr int `json:"abr"` UploaderURL string `json:"uploader_url"` Categories []string `json:"categories"` - Fps int `json:"fps"` + Fps float64 `json:"fps"` StretchedRatio interface{} `json:"stretched_ratio"` SeasonNumber interface{} `json:"season_number"` Annotations interface{} `json:"annotations"` @@ -83,7 +83,7 @@ type RequestedFormat struct { Ext string `json:"ext"` FragmentBaseURL string `json:"fragment_base_url"` Filesize interface{} `json:"filesize"` - Fps int `json:"fps"` + Fps float64 `json:"fps"` ManifestURL string `json:"manifest_url"` Protocol string `json:"protocol"` FormatID string `json:"format_id"`