feat: do not use lowercase

This commit is contained in:
Simon Ding
2024-09-20 11:11:27 +08:00
parent f696b78260
commit c535dfd714

View File

@@ -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 != "" {