Skip to content

Commit

Permalink
Added format audio track
Browse files Browse the repository at this point in the history
  • Loading branch information
Wakeful-Cloud authored and corny committed Dec 24, 2023
1 parent 3bb8266 commit ad4281f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions response_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ type Format struct {
Start string `json:"start"`
End string `json:"end"`
} `json:"indexRange"`

// AudioTrack is only available for videos with multiple audio track languages
AudioTrack *struct {
DisplayName string `json:"displayName"`
ID string `json:"id"`
AudioIsDefault bool `json:"audioIsDefault"`
}
}

type Thumbnails []Thumbnail
Expand Down

0 comments on commit ad4281f

Please sign in to comment.