How to remove double spaces from directory and filename #5553
Unanswered
konomikitten
asked this question in
Q&A
Replies: 1 comment
-
I think I've hit another bug. The string for the variable When I use the replace formatter to remove the colons and then the double spaces I end up with the expected result of "mangadex": {
"directory": [
"{category}",
"{manga:R://R //}",
"Chapter {chapter:>03}{chapter_minor} Group {group!S} Date {date:%Y%m%dT%H%M%SZ}"
],
"filename": "{manga} Chapter {chapter:>03}{chapter_minor} Page {page:>03}.{extension}",
"lang": "en"
} However, if I try to use "mangadex": {
"path-restrict": "windows",
"path-replace": "",
"directory": [
"{category}",
"{manga:R //}",
"Chapter {chapter:>03}{chapter_minor} Group {group!S} Date {date:%Y%m%dT%H%M%SZ}"
],
"filename": "{manga} Chapter {chapter:>03}{chapter_minor} Page {page:>03}.{extension}",
"lang": "en"
} My guess is that the formatter is applied first and then the path-restrict/path-replace is done after. Maybe it should be the other way around? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would be the best way to remove double spaces
from both the
directory
andfilename
? I currently have the following set in my config file, but when path-replace removes characters it has a tendency to leave move than one space behind.Beta Was this translation helpful? Give feedback.
All reactions