Added documentation for GetFormat

This commit is contained in:
bytedream 2022-03-06 01:10:16 +01:00
parent b9b9654d2c
commit d42206b8f9

View file

@ -119,6 +119,7 @@ func (e *Episode) AudioLocale() (LOCALE, error) {
return streams[0].AudioLocale, nil
}
// GetFormat returns the format which matches the given resolution and subtitle locale
func (e *Episode) GetFormat(resolution string, subtitle LOCALE, hardsub bool) (*Format, error) {
streams, err := e.Streams()
if err != nil {