fix: tv date not exists and folder name suggestion

This commit is contained in:
Simon Ding
2024-09-26 09:45:36 +08:00
parent 89104785d7
commit ecfe31ea45
4 changed files with 13 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ const (
LanguageCN = "zh-CN"
)
const DefaultNamingFormat = "{{.NameCN}} {{.NameEN}} ({{.Year}})"
const DefaultNamingFormat = "{{.NameCN}} {{.NameEN}} {{if .Year}} ({{.Year}}) {{end}}"
type NamingInfo struct {
NameCN string