From 47f94b9e1d669d621cca5d55660cc749bde92e7d Mon Sep 17 00:00:00 2001 From: Harry Zhou Date: Mon, 27 Jun 2022 23:20:07 -0500 Subject: [PATCH] Fixed song name for midis --- .../com/github/hhhzzzsss/songplayer/song/SongLoaderThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/hhhzzzsss/songplayer/song/SongLoaderThread.java b/src/main/java/com/github/hhhzzzsss/songplayer/song/SongLoaderThread.java index 2daf6e2..6afb7e7 100644 --- a/src/main/java/com/github/hhhzzzsss/songplayer/song/SongLoaderThread.java +++ b/src/main/java/com/github/hhhzzzsss/songplayer/song/SongLoaderThread.java @@ -58,7 +58,7 @@ public class SongLoaderThread extends Thread{ } try { - song = MidiConverter.getSongFromBytes(bytes, location); + song = MidiConverter.getSongFromBytes(bytes, name); } catch (Exception e) {}