Ignore dashes and apostrophes when finding dupes.
This commit is contained in:
parent
37b4e1b4b2
commit
708e44053e
@ -367,6 +367,8 @@ impl Movies {
|
||||
let parent = clean_path_parent(path)
|
||||
.to_string_lossy()
|
||||
.to_ascii_lowercase()
|
||||
.replace("-", " ")
|
||||
.replace("'", "")
|
||||
.to_string();
|
||||
if date_re.is_match(&parent) {
|
||||
movie_counter.entry(parent).or_insert(Vec::new()).push(m);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user