In format selection: Show resolution and download size (if available)

This commit is contained in:
Stefan Schlott
2023-02-04 12:13:20 +01:00
parent 1f6d6d7839
commit cdad7ca873
3 changed files with 5 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ type Format struct {
Resolution string `json:"resolution"`
VCodec string `json:"vcodec"`
ACodec string `json:"acodec"`
Size float32 `json:"filesize_approx"`
}
// struct representing the response sent to the client