Skip to content

Bug fix fixes bww imported single timings that should be second timings#25

Open
AndyMac4321 wants to merge 3 commits into
macarc:mainfrom
AndyMac4321:BugFix-Fixes-BWW-imported-single-timings-that-should-be-second-timings
Open

Bug fix fixes bww imported single timings that should be second timings#25
AndyMac4321 wants to merge 3 commits into
macarc:mainfrom
AndyMac4321:BugFix-Fixes-BWW-imported-single-timings-that-should-be-second-timings

Conversation

@AndyMac4321

Copy link
Copy Markdown
Contributor

Added new method in controller that Fixes BWW imported single timings that should be second timings
Added .vscode folder to .gitignore

…ings

Added new method in controller that Fixes BWW imported single timings that should be second timings
Added .vscode folder to .gitignore
Removed extraneous imports
Removed commented imports
@macarc

macarc commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Thank you, this is a useful feature.

I'd prefer to do it in the ImportBWW parser itself - adding a lastToken field to the Parser, and then in timelineStart() it can check if the last token was a TIME_LINE_END and if so it can remove the last timing (if it was a single timing) and create the second timing. The advantage of that is that it means we don't have to leak the StartNote/EndNote from the Timings, and also it's a bit faster (although that's not a huge problem for BWW importing).

If you'd like to do this, that'd be great, otherwise I'm happy to (I realise you've probably moved on to other things!).

Also, I'm sorry it's taken so long to review these pull requests! Thank you very much for putting in the effort, I appreciate it.

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