mirror of
https://github.com/simon-ding/polaris.git
synced 2026-03-10 19:50:54 +08:00
feat: do not use lowercase
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user