Skip to content
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

First tentative fix for issue 2738. #2759

Merged
merged 6 commits into from
Dec 21, 2017

Conversation

Vrihub
Copy link
Contributor

@Vrihub Vrihub commented Dec 11, 2017

Don't ignore anymore filenames such as "01.mp3", instead use the number
in the filename as track number.

Don't ignore anymore filenames such as "01.mp3", instead use the number
in the filename as track number.
@sampsyo
Copy link
Member

sampsyo commented Dec 16, 2017

Hi! Sorry for the delay in reviewing this, but it looks perfect!

Would you mind adding a brief changelog entry about the new capability? Then this should be ready to merge as-is, if it's been working for you. ✨

Some more changes to the regular expressions in the "PATTERNS" list.
Also allow "_" as a separator, where only "-" was allowed.
Replaced similar regexps containing different combinations of \s, "-", "."
with a single regexp using a set of characters [\s.\-_].
@Vrihub
Copy link
Contributor Author

Vrihub commented Dec 21, 2017

Ok, I've added a changelog entry (and fixed a conflict, since my branch was a bit old), did some more fixes to the regular expressions (see commit message 84cf336 ), fixed a line-too-long.
If you agree with the changes I think we should be ready to merge.

@sampsyo sampsyo merged commit d0af7a7 into beetbox:master Dec 21, 2017
sampsyo added a commit that referenced this pull request Dec 21, 2017
sampsyo added a commit that referenced this pull request Dec 21, 2017
@sampsyo
Copy link
Member

sampsyo commented Dec 21, 2017

Perfect! Thank you for the updates, and for the clean fix for this shortcoming. ✨ Woohoo!

@Vrihub Vrihub deleted the 2738-filename-tracknumber branch December 21, 2017 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants