change FPS to float from int
This commit is contained in:
parent
5be3551abe
commit
7f1906d58b
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ type YtdlVideo struct {
|
||||||
Abr int `json:"abr"`
|
Abr int `json:"abr"`
|
||||||
UploaderURL string `json:"uploader_url"`
|
UploaderURL string `json:"uploader_url"`
|
||||||
Categories []string `json:"categories"`
|
Categories []string `json:"categories"`
|
||||||
Fps int `json:"fps"`
|
Fps float64 `json:"fps"`
|
||||||
StretchedRatio interface{} `json:"stretched_ratio"`
|
StretchedRatio interface{} `json:"stretched_ratio"`
|
||||||
SeasonNumber interface{} `json:"season_number"`
|
SeasonNumber interface{} `json:"season_number"`
|
||||||
Annotations interface{} `json:"annotations"`
|
Annotations interface{} `json:"annotations"`
|
||||||
|
@ -83,7 +83,7 @@ type RequestedFormat struct {
|
||||||
Ext string `json:"ext"`
|
Ext string `json:"ext"`
|
||||||
FragmentBaseURL string `json:"fragment_base_url"`
|
FragmentBaseURL string `json:"fragment_base_url"`
|
||||||
Filesize interface{} `json:"filesize"`
|
Filesize interface{} `json:"filesize"`
|
||||||
Fps int `json:"fps"`
|
Fps float64 `json:"fps"`
|
||||||
ManifestURL string `json:"manifest_url"`
|
ManifestURL string `json:"manifest_url"`
|
||||||
Protocol string `json:"protocol"`
|
Protocol string `json:"protocol"`
|
||||||
FormatID string `json:"format_id"`
|
FormatID string `json:"format_id"`
|
||||||
|
|
Loading…
Reference in a new issue