-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fromfilename: Fix regex ordering and add debug logging #4600
Conversation
Thanks for getting this started! As you already noticed in #4561, this pattern should really go to the very end of the list, since it's the least specific. |
LGTM; any reason why this is still marked as a draft? |
I'm not sure if the debug log messages with a simple "textual" prefix of Implementing this would be quite some hassle because the method the logging takes places in my PR is not part of the plugin. If you think it's sufficient like this and not worth the reafactoring hassle I'm very fine with it. Also: I'll add a quick changelog entry. |
You're right, that would be much cleaner to do, thanks for thinking ahead! I think it's not a lot of work actually: Make Would you mind doing that change?
👍 |
Sure thing. Will do tomorrow or soonish! Appreciate your hints. |
Hi, changes as suggested. Tested a little and works well. Also changed log level to INFO. I figured that it should be enough to pass one There seems to be an issue with the CI. Could be something with Sphinx build. I'm not sure if it's my fault. The only thing I did which was Sphinx related was the changelog. I reverted that commit to see if the error persists. Turns out it does. Maybe something is broken with the current Sphinx version or even something with the Python install process broken on github's end? Not sure but please look into the CI logs. Thanks a lot! I'll continue work on this PR earliest on the 3rd of Jan. |
This reverts commit f223fae. Test if CI errors are related to changes in this commit.
Looks good, our default log level for plugin stages appears to be
Weird, I don't immediately have a glue what might be going on here, the CI logs do seem to point towards an issue with Sphinx.
|
I've fixed the Sphinx issue in 2106f47 - if you update your branch from master then you should be good 👍 |
since it's the least significant as discussed in the PR's thread.
that inform when the plugin replaced bad artist, title or tracknumber metadata.
and change log level to INFO.
Thanks for the fix @jackwilsdon. Ready to review again @wisp3rwind. |
Nicely done, all! And great work tracking down that Sphinx version problem, @jackwilsdon!!! |
Description
<track> <title>
filename patterns #4561To Do
Documentation.Tests.