-
-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "%r" placeholder to wrap parts of the path #1170
base: master
Are you sure you want to change the base?
Conversation
…be set recursively. Tyrrrz#1123. e.g.: "\%G\%r%P – %T%r\%p – %C.html"
What would this placeholder do? I'm not sure I get the idea behind it... |
Sorry - this lacks a little description. The idea was to evaluate some parts of the export path-schema recursively (iterating through the parent channels). Inital path pattern: \%G\%P – %T\%p – %C.html so on the first iteration will find the regex group: %P – %T the updated path will than be used to replace the leftover placeholder values: After looking through it today again this could be more optimized but i think the conceptional idea / solution is still fine |
Thanks for the thorough explanation. It is certainly an interesting approach. What I originally wanted to achieve was this:
Or differently expressed: Would Edit: Just tested it now that it has been built, and I get it now. This puts the threads into the same folder as the parent channel with the thread having the same naming structure as its parent channel. Rather than creating another folder inside the same directory as that of the parent channel, which is what I had imagined in the initial issue and above.
|
@CanePlayz can you comment whether this PR fully addresses #1123, as reported by you? |
Unfortunately not. I guess it'd still be an enhancement, but: This new method puts the thread files into the same folder as the parent channel files with the thread having the same naming structure as its parent channel. What I had imagined in the initial issue was creating another folder inside the same directory as that of the parent channel where all the threads would be stored (you can see that desired structure above). |
However, a possible solution to this could be introducing new parameters that are thread-exclusive (meaning if the channel being processed is a normal one, they are just being ignored, but if the channel is a thread, they are indeed being resolved to for example the name of the parent channel or its position. I should be able to code this myself, will update you. |
…be set recursively. #1123. e.g.: "\%G\%r%P – %T%r\%p – %C.html"
Closes #1123