Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormatList ¶
func (FormatList) FindByItag ¶
func (list FormatList) FindByItag(itagNo int) *models.Format
type VideoInfo ¶
type VideoInfo struct { ID string Title string Author string Duration time.Duration AllAvailableFormats FormatList Format *models.Format FileFormat string }
func (*VideoInfo) SelectFormat ¶
func (v *VideoInfo) SelectFormat()
SelectFormat iterates over all available video formats and sets Format variable the most suitable one
Click to show internal directories.
Click to hide internal directories.