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

Display which paths led to "Illegal BMS Songs" error #631

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Chazoshtare
Copy link
Contributor

@Chazoshtare Chazoshtare commented Aug 6, 2021

Currently, if a user would have any illegal BMS files or the detection system would react on any false positives, there is no way to tell which BMS files cause the error.

This PR adds paths to the error message displayed, so it's easier for the user to identify which song packs should be deleted or included in an issue about false positives.
screenshot

The paths displayed are capped at 30 lines to limit the dialog window potential size.


Detected charts are not stored in a variable in MainLoader anymore, and two unreachable checks were also removed - they cannot happen if the application won't start anyway.

Part of this PR just removes unneeded whitespace, but it's split in separate commits. Main commit that represents the main logic change can be viewed here: 3517fc0

@Chazoshtare Chazoshtare force-pushed the feature/display-illegal-songs-paths branch 2 times, most recently from c19b2c7 to cd7a909 Compare September 8, 2021 18:52
@Chazoshtare Chazoshtare force-pushed the feature/display-illegal-songs-paths branch from cd7a909 to f83deb1 Compare October 24, 2021 13:47
@Chazoshtare Chazoshtare force-pushed the feature/display-illegal-songs-paths branch from f83deb1 to 9b98ae7 Compare March 25, 2022 19:05
@Chazoshtare Chazoshtare force-pushed the feature/display-illegal-songs-paths branch from 9b98ae7 to e7ec430 Compare April 24, 2022 10:44
@Chazoshtare Chazoshtare force-pushed the feature/display-illegal-songs-paths branch from e7ec430 to b68a2bc Compare June 25, 2022 00:31
@Chazoshtare Chazoshtare force-pushed the feature/display-illegal-songs-paths branch from b68a2bc to 3517fc0 Compare March 19, 2023 14:45
…unused checks

Displayed error paths are capped to 30 lines to limit potential big dialog window size. More will be shown once the user deletes the folders.
@Chazoshtare Chazoshtare force-pushed the feature/display-illegal-songs-paths branch from 3517fc0 to 35bce16 Compare April 29, 2023 11:39
@produKtnz
Copy link

produKtnz commented May 16, 2024

any updates on this? I wish to delete illegal BMS from my collection - output to a txt file would be nice so i can identify the songs

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