From d42206b8f92fc86c0cde1deb15c2dc59458405a5 Mon Sep 17 00:00:00 2001 From: bytedream Date: Sun, 6 Mar 2022 01:10:16 +0100 Subject: [PATCH] Added documentation for GetFormat --- episode.go | 1 + 1 file changed, 1 insertion(+) diff --git a/episode.go b/episode.go index 12d21b9..6ab330b 100644 --- a/episode.go +++ b/episode.go @@ -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 {