hmm i want an autosuggest pattern list
This commit is contained in:
2
main.go
2
main.go
@@ -8,6 +8,7 @@ import (
|
||||
"os/signal"
|
||||
"path"
|
||||
"regexp"
|
||||
"strings"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
@@ -58,6 +59,7 @@ func one(ctx context.Context, outd, inf string, patterns []string, overrides map
|
||||
if found["title"] == "" || found["season"] == "" || found["episode"] == "" {
|
||||
continue
|
||||
}
|
||||
found["title"] = strings.Join(strings.Fields(found["title"]), "_")
|
||||
|
||||
if err := mvNLn(ctx, outd, inf, found["title"], found["season"], found["episode"]); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user