Skip to content

extracting metadata from filename should start with the file and proceed up the tree, not the reverse #15

@rbtr

Description

@rbtr

for example,
/src/My Cool Show Season 1-2-3-4-5-6-7/My Cool Show S01E01.mkv
will be incorrectly matched as "My Cool Show Season 1-2-3-4-5" Season 6 Episode 7, since the path parser extracts metadata from the entire path of the file, lazily, left to right.
it would be better to parse the leaf filename initially, then proceed up the dir tree if the full metadata is not present in just the filename. the extraction from the filename should be prioritized over subsequent extractions from the containing dirs, if in conflict.

Metadata

Metadata

Assignees

Labels

bugsomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions