Skip to content

File name parsing for Merton search problems #21

@beville

Description

@beville

Looks like Metron search based a parsed file name (auto-tagging) is failing some cases.

A series title with colons (:) and slashes (/) will of have those replaced with space-minus-space (-) in a filename. A great example is "Batman / Superman: World's Finest" which might have a filename with Batman - Superman - World's Finest (or even one without the ' in it) The minuses cause the Metron search the search to fail.

Probably CT just needs to remove minus/dash characters (-) from the search string before submitting it.


Another issue I think is probably server-side, and I should probably make a issue with @bpepple over on his repo. Metron doesn't like a missing apostrophe in some cases.

So when the search string is:

Cory Doctorow's Futuristic Tales of the Here and Now it works
Cory Doctorow s Futuristic Tales of the Here and Now also works
Cory Doctorow Futuristic Tales of the Here and Now also works

but for some reason

Cory Doctorows Futuristic Tales of the Here and Now fails.

Unfortunately for auto-tagging, it's pretty common to see the dropped apostrophe. I can't think of a good client-side solution for that one, though, but maybe you all have an idea.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions