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

General section does not get parsed correctly #40

Open
TheArcaneBrony opened this issue Jul 31, 2023 · 2 comments
Open

General section does not get parsed correctly #40

TheArcaneBrony opened this issue Jul 31, 2023 · 2 comments

Comments

@TheArcaneBrony
Copy link

TheArcaneBrony commented Jul 31, 2023

Trying to parse .osu files, it seems that everything in MetadataSection is null.

@TheArcaneBrony
Copy link
Author

Update: looking at the files, it looks like this section is formatted as key:value instead of key: value, though that shouldnt matter for the parsing, only the output values?

@TheArcaneBrony
Copy link
Author

I ended up figuring this out: line endings! Each value was being tailed by a \r causing the sections to never be set.

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

1 participant