You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
json: cannot unmarshal number 23.976 into Go struct field .requested_formats.fps of type int
I get the following error in the case that FPS is calculated as a float. This is certainly a less common case but appears to be the result of the original file format from the download process.
I propose changing the FPS value in the specified struct to a float64 to ensure unmarshalling. If the user then wants to truncate to 32bit or some integer it is their discretion
The text was updated successfully, but these errors were encountered:
json: cannot unmarshal number 23.976 into Go struct field .requested_formats.fps of type int
I get the following error in the case that FPS is calculated as a float. This is certainly a less common case but appears to be the result of the original file format from the download process.
I propose changing the FPS value in the specified struct to a float64 to ensure unmarshalling. If the user then wants to truncate to 32bit or some integer it is their discretion
The text was updated successfully, but these errors were encountered: