xeruf / monsterutilities

Browse, stream and download Monstercat Songs
GNU General Public License v3.0
31 stars 2 forks source link

Most of the catalog isn't showing up in the selection box #42

Closed ReHWolution closed 5 years ago

ReHWolution commented 5 years ago

As the title says, it seems like there's an issue with the catalog. It's missing a lot of songs, basically prior to 2019. Did Monstercat change something on their side?

xeruf commented 5 years ago

It is fetched directly from https://docs.google.com/spreadsheets/d/116LycNEkWChmHmDK2HM2WV85fO3p3YTYDATpAthL8_g, Monstercat has no part in this.

For me it displays everything completely fine.

ReHWolution commented 5 years ago

I was talking about the Download tab. I only get Uncaged vol. 6, and the only 4 last months of songs, no matter what I put in the date field. I tried "After" 2012 january, before 2019 april, nothing works. I only see a small part of the entire library...

xeruf commented 5 years ago

Ah I see. Yes, seems to be a change in the Monstercat API. I will investigate soon.

ReHWolution commented 5 years ago

thanks!

smicbee commented 5 years ago

are there already news on this issue?

xeruf commented 5 years ago

Unfortunately this will require a bit of rethinking and I am currently working on other projects. So, sadly no, but I will definitely make time for it at some point.

eratosthene commented 5 years ago

It looks like there's some sort of paging in play now. If you look at the json returned by /catalog/release, the following fields show up: "skip": 0, "total": 1469, "limit": 50 So there's probably some way to page through the results. I'm pretty sure specifying 'skip=number' as a querystring parameter will do it.

xeruf commented 5 years ago

Yep, I have worked with that before in another query, but I have to add some logic to automatically make the necessary number of requests instead of just one as it is now.

xeruf commented 5 years ago

Fixed in 17a6ad2c702d19b2d46e614d8c303c824b416a6c - will be out with the next version.