Use Download class to download track previews into a Temp/ directory.

AudioSystem.getAudioInputStream(URL) was causing issues, so just download the files using the more robust Download class.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2016-10-13 04:12:47 -04:00
parent 89e8341686
commit dabfb827ee
7 changed files with 93 additions and 36 deletions

1
.gitignore vendored
View File

@@ -4,6 +4,7 @@
/Skins/
/SongPacks/
/Songs/
/Temp/
/.opsu.log
/.opsu.cfg
/.opsu.db*