default for me
parent
12bb9c808b
commit
5f5015e152
5
main.go
5
main.go
|
|
@ -56,7 +56,10 @@ func Stage(ctx context.Context) error {
|
||||||
if _, err := os.Stat(YamlFile); err == nil {
|
if _, err := os.Stat(YamlFile); err == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
b, _ := yaml.Marshal(Yaml{D: true})
|
b, _ := yaml.Marshal(Yaml{
|
||||||
|
D: true,
|
||||||
|
O: "/volume1/video/Bel/Anime/{{.Title}}/Season_{{.Season}}",
|
||||||
|
})
|
||||||
return ioutil.WriteFile(YamlFile, b, os.ModePerm)
|
return ioutil.WriteFile(YamlFile, b, os.ModePerm)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue