Zingabopp / BeatSync

Beat Saber plugin to automatically download beatmaps.
Other
246 stars 22 forks source link

scoresaber not working, "errorMessage": "Limit must be less than 20" #54

Closed nepss closed 1 year ago

nepss commented 2 years ago

Helloo, hope y'all can help me out, I wanted to play only ranked songs but scoresaber doesn't work. I've tried beastsaber and it does work. these are my settings: "ScoreSaber": { "Enabled": true, "TopRanked": { "Enabled": true, "MaxSongs": 20, "CreatePlaylist": true, "PlaylistStyle": "Replace", "IncludeUnstarred": true, "MaxStars": 0.0, "MinStars": 0.0

everything else is either default, or in section "Enabled": false

this is the log: [Info @ 2022-09-08 17:35:02 | BeatSyncLib]: Starting ScoreSaberTopRanked feed... [Debug @ 2022-09-08 17:35:02 | SongFeedReader]: Getting songs from 'https://scoresaber.com/api.php?function=get-leaderboards&cat=3&limit=100&page=1&ranked=1' [Debug @ 2022-09-08 17:35:03 | SongFeedReader]: Site Error getting first page in ScoreSaberReader: https://scoresaber.com/api.php?function=get-leaderboards&cat=3&limit=100&page=1&ranked=1: The remote server returned an error: (400) Bad Request. [Debug @ 2022-09-08 17:35:03 | SongFeedReader]: The remote server returned an error: (400) Bad Request.

If I follow the url it says: { "errorMessage": "Limit must be less than 20" }

And by changing url a bit, to limit=20, it no longer gives error, and results in each songs information.

I guess this is some url problem, I'd be glad if any ideas come along my way, or if there is some setting I can change to fix that.