Closed kpei closed 3 years ago
For some maps such as https://osu.ppy.sh/beatmapsets/532522#osu/1128411 and https://osu.ppy.sh/beatmapsets/499478#osu/1161445 the audio mp3 extension in the osu file is incorrectly uppercased as .MP3 rather than .mp3. These are the only two cases of AudioNotFound errors that ive found so far.
This fix lists all the files in the beatmap directory and matches the audio file name to each file with all lowercase matching. It then returns the original file name that is inside the beatmap directory.
For some maps such as https://osu.ppy.sh/beatmapsets/532522#osu/1128411 and https://osu.ppy.sh/beatmapsets/499478#osu/1161445 the audio mp3 extension in the osu file is incorrectly uppercased as .MP3 rather than .mp3. These are the only two cases of AudioNotFound errors that ive found so far.
This fix lists all the files in the beatmap directory and matches the audio file name to each file with all lowercase matching. It then returns the original file name that is inside the beatmap directory.