BeatSaberSongDataCore icon indicating copy to clipboard operation
BeatSaberSongDataCore copied to clipboard

[Feature request] settings to get v2-all.json from another url or from a local drive

Open topin89 opened this issue 4 years ago • 3 comments

Hello.

For some reason, https://cdn.wes.cloud/beatstar/bssb/v2-all.json download speed here is extremely slow, around 125 KB/s, so it takes around 7-9 minute to download the file. In the game, that means song info loads for some time and then suddenly it says info is loaded but it actually isn't.

I tried to understand what and where to change in the code to use local file, and failed. Best thing I could do is to replace the link to http://localhost/v2-all.json and set up python -m http.server 80. It works, but that's an ugly hack at best.

Can you add an option to use local file?

topin89 avatar Jul 04 '21 13:07 topin89

Hi there,

I've just added GZIP support in #10 which would reduce the download from 52.83 MB to 7.24 MB. It wouldn't completely fix your issue, but it would reduce the download time by 7 times.

Once this is release, could you circle back to us about your experience then?

Thanks!

WesVleuten avatar Jul 09 '21 20:07 WesVleuten

Woah. Missed your answer, didn't expect it would be answered after four day of silence. Sure, I'll check on next release, that should be soon

topin89 avatar Jul 21 '21 20:07 topin89

This might be nice for testing/benchmarking purposes. SDC could switch over to IPA Config and we can offer some config settings (like custom url).

halsafar avatar Aug 27 '21 18:08 halsafar