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

Genres like "90-er" are not recognized #137

Closed
calliostro opened this issue Dec 21, 2017 · 1 comment
Closed

Genres like "90-er" are not recognized #137

calliostro opened this issue Dec 21, 2017 · 1 comment

Comments

@calliostro
Copy link

Hello,

If you have a MP3 file tagged like '80-er' (starting with a number), the tag is not recognized.
I found out, that this could be fixed, if the regex is changed in module.tag.id3v2.php line 533:

old:
if (preg_match('#^[0-9]{1,3}#', $element)) {

new:
if (preg_match('#^[0-9]{1,3}$#', $element)) {

But I'm not sure if there are side effects. Maybe you could check and commit a fix.

Thanks and regards
C.

@JamesHeinrich
Copy link
Owner

Thanks for the bug report. I have looked through and that is the correct fix.
Fixed in dda4054

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

No branches or pull requests

2 participants