elliotttate / beatsaver-laravel

Rewrite of beatsaver.com (https://github.com/beatsaver/beatsaver) using the laravel framework
https://discord.gg/8B44zqM
MIT License
39 stars 19 forks source link

Attach searchable tags to songs that are pulled from a music API #12

Open nottheswimmer opened 6 years ago

nottheswimmer commented 6 years ago

https://www.quora.com/What-music-metadata-API-is-best-for-querying-genre-or-tags-by-album-and-artist

Byorun commented 6 years ago

The link you provided does not provide any usable information anymore.

sorianog commented 6 years ago

I'd love to see something like this implemented. Maybe to start off, use a "genre" value? I think in Spotify api, songs have this value.

Byorun commented 6 years ago

I am not familiar with how Spotify handles song genres. But I think a static genre field where the users can chose the genre of a song would be the fastest way to implement such a feature.

sorianog commented 6 years ago

@Byorun Just revisited the Spotify api and they have an example of "artist" having an array of "genre", here

The docs claim that a "track" also has "genre". I think to prepare for the future of Beat Saver, having genre linked to artists will be beneficial when the library of songs grow and we start seeing different songs being added for the same artist.

Are you planning to add this enhancement to the roadmap? I am also willing to help! 😄

Byorun commented 6 years ago

If you provide a fitting(with migrations and so on) pull request, I can merge it into the develop branch

elliotttate commented 6 years ago

@Byorun We now have genre info for each map on bsaber.com that you can use.

razzeee commented 6 years ago

This issue is kinda unclear. The title hints at something that's not necessarily genre. If it's about genre check out https://github.com/Byorun/beatsaver-laravel/pull/35

n3tman commented 5 years ago

I like this idea a lot. With the growing number of songs it'll be nearly impossible to find something to your liking easily. As much as I like BeastSaber website, it still relies on manual input from people. Some auto-generated genre tags would make a huge difference, even if they are not 100% accurate.

I recently found out this website: http://everynoise.com/engenremap.html It uses Spotify under the hood and lets you get info by sending a request like this:

http://everynoise.com/lookup.cgi?who=<Artist>

Where <Artist> is the artist name. Then you can just parse the HTML and get genres in plain text.

elliotttate commented 5 years ago

Actually, to start out, about 5 months ago, I ran the whole database of songs through Gracenote & Last.FM to get the starting out Genre info on bsaber (you can also see some of the tags it found here: https://docs.google.com/spreadsheets/d/19zJsXbbKMwPAv8XbuKD6-LfPGNole1hUlMrTX2ceifQ/edit#gid=353510989) which I never did apply those (really need to run that again and also add the tags)

The way I did it was based on sampling some of the audio to match up the song and then searching it in the database since a lot of the Youtube ripped audio didn't have proper ID3 tags. N3tman (or anyone else) if you want to help with this, I'd LOVE that.

I also want to change it so that mappers enter Genre and Tags during upload. I think that should REALLY help things going forward (then we can occasionally run these scripts to fill in some of the missing pieces). Halsafar said that he was working on in-game Genre sorting on the songBrowser this week, so that should really bring some of this to the attention of the mappers (when they see their own map doesn't show up in the sort).

razzeee commented 5 years ago

Don't forget musicbrainz which can match by fingerprint has genres, tags (and more) and is open source. https://musicbrainz.org/

elliotttate commented 5 years ago

Oh yeah! Forgot to mention that I used musicbrainz too. If you have any experience working with API's, there's a few other ways I want to try searching for it (genius.com and musixmatch also have open API's), so just let me know if you can help. Thanks!

razzeee commented 5 years ago

I do have, but as I moved on, I'm currently trying to finish other open source projects. If it's of any help, I do have some friends at musicbrainz.