mnamer icon indicating copy to clipboard operation
mnamer copied to clipboard

Replacements dont seem to apply to variables when used in directories

Open lozbrown opened this issue 5 years ago • 2 comments

My config has

"replace_after": {
    "&": "and",
    ";": ",",
    "@": "at",
    " ": "_"

},

but i get this ocessing Episode "Married at First Sight.S11E08.mp4" (635.42MB) no matches found ❱ Married at First Sight - 11x08 (best guess) skip quit moving to /media/Virtual/Videos/TV/Married at First Sight/Season-11/Married_at_First_Sight.S11E08.mp4 OK!

note the spaces in the directory name...

lozbrown avatar Sep 12 '20 19:09 lozbrown

surely the replacements should be applied to the variables in the directory structures?

lozbrown avatar Sep 14 '20 06:09 lozbrown

This occurs when --episode-format has a path in addition to the filename.

Resolving MR https://github.com/jkwill87/mnamer/pull/150

Resolving commit https://github.com/jkwill87/mnamer/pull/150/commits/a28f18eb8a3ebc16a29df7785c56ca57dac5a20d

WaywardWizard avatar Jun 16 '21 06:06 WaywardWizard