From 1c84b69c5f79106b1d5cbb4b8c07724698d146e8 Mon Sep 17 00:00:00 2001 From: gryffyn Date: Tue, 9 Aug 2022 02:23:17 -0400 Subject: [PATCH] episode naming is now uppercase (s01e01 -> S01E01) Signed-off-by: gryffyn --- osiris.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osiris.go b/osiris.go index dcea8ba..08d8954 100644 --- a/osiris.go +++ b/osiris.go @@ -159,7 +159,7 @@ func getFilename(filepath string, re *regexp.Regexp, cfg *config, year, title st r := release{ Title: strings.TrimSpace(strings.ReplaceAll(metadata["title"], ".", " ")), Year: strings.TrimSpace(metadata["year"]), - Episode: strings.TrimSpace(metadata["ep"]), + Episode: strings.TrimSpace(strings.ToUpper(metadata["ep"])), EpisodeTitle: strings.TrimSpace(strings.ReplaceAll(metadata["eptitle"], ".", " ")), Scene: strings.TrimSpace(scene), Options: releaseOptions{