diff --git a/convids/methods.go b/convids/methods.go index f71981a..0688d20 100644 --- a/convids/methods.go +++ b/convids/methods.go @@ -18,6 +18,9 @@ func (s *Show) Match(path string) (bool, error) { if s == nil { return false, ErrNilPointer } + if !s.Anime && s.Name != "" && s.Pattern == "" { + s.Pattern = strings.ReplaceAll(s.Name, " ", ".") + } if s.Pattern != "" { return s.matchRegexp(path) }