Skip to content

Commit

Permalink
feat: do not use lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-ding committed Sep 20, 2024
1 parent f696b78 commit c535dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/core/importlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ func (c *Client) SuggestedSeriesFolderName(tmdbId int) (string, error) {
}
//remove extra characters
re := regexp.MustCompile(`[^\p{L}\w\s]`)
name = re.ReplaceAllString(strings.ToLower(name), " ")
name = re.ReplaceAllString(name, " ")
name = strings.Join(strings.Fields(name), " ")
year := strings.Split(d.FirstAirDate, "-")[0]
if year != "" {
Expand Down

0 comments on commit c535dfd

Please sign in to comment.