fixed filepath pattern problems
This commit is contained in:
parent
53bbded00f
commit
344221ce50
@ -19,11 +19,8 @@ var (
|
|||||||
|
|
||||||
AnimePath = envvars.String("ANIME_PATH", "")
|
AnimePath = envvars.String("ANIME_PATH", "")
|
||||||
|
|
||||||
AnimeEpFilepathPattern = envvars.Object(
|
AnimeEpFilepathPatternStr = envvars.String("EPISODE_FILEPATH_PATTERN", `{{.Anime.Title.UserPreferred}}/{{.Anime.Title.UserPreferred}} Episode {{.Episode}}.{{.Ext}}`)
|
||||||
"EPISODE_FILEPATH_PATTERN",
|
AnimeEpFilepathPattern = template.Must(template.New("EPISODE_FILEPATH_PATTERN").Parse(AnimeEpFilepathPatternStr))
|
||||||
template.Must(template.New("anime-episode-filepath-pattern").Parse(`{{.Anime.Title.UserPreferred}}/{{.Anime.Title.UserPreferred}} Episode {{.Episode}}.{{.Ext}}`)),
|
|
||||||
template.New("anime-episode-filepath-pattern").Parse,
|
|
||||||
)
|
|
||||||
|
|
||||||
// essential torrent properties
|
// essential torrent properties
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user