Skip to content

Commit

Permalink
Merge pull request 'Episode naming is now uppercase (s01e01 -> S01E01…
Browse files Browse the repository at this point in the history
…)' (#3) from dev into main

Reviewed-on: https://git.gryffyn.io/gryffyn/osiris/pulls/3
  • Loading branch information
gryffyn committed Aug 9, 2022
2 parents a0d59b0 + 1c84b69 commit 9b9396d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osiris.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 9b9396d

Please sign in to comment.