diff --git a/parsed_file.go b/parsed_file.go index 8f66cb9..3770ce3 100644 --- a/parsed_file.go +++ b/parsed_file.go @@ -29,3 +29,10 @@ func (f *ParsedFile) GetSubtitles() []string { func (f *ParsedFile) GetResolution() Resolution { return f.Resolution } + +func (f *ParsedFile) AnimeEpisode() AnimeEpisode { + return AnimeEpisode{ + Anime: f.Anime, + Episode: f.Episode, + } +}