CoolModFiles icon indicating copy to clipboard operation
CoolModFiles copied to clipboard

[feature request] play/browse by genres

Open awsms opened this issue 3 years ago • 1 comments

https://modarchive.org/index.php?request=view_genres

would be great :-)

awsms avatar Nov 26 '21 23:11 awsms

The only option i can think of is creating a server to fetch genres and songs ids from modarchives and serve them to the client app. We have two ways to get these data in the server. Easiest way is getting a key to access xml api of modarchive. We can send "view_genres" and "search" requests and get what we need. API documentation: https://modarchive.org/index.php?xml-api Our second option is scrapping genre and song ids belonging to genre from the actual page. I wrote some functions for scrapping in my fork's genre branch.

peymil avatar Feb 08 '22 02:02 peymil