-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get genre from Google Music #1569
Comments
Google Play is not a possible source for lastgenre plugin. |
Yes, I did fiddle with the canonicalization. It works alright, but the genre tagging is not very acccurate: lastgenre: genre for album New Kids on the Block - Face the Music (album): Pop But I guess that is to blame on the Last.fm users. |
Interesting idea. Do you know anything about how we might go about that—an API, etc.? Also, FWIW, you might get more consistent results out of lastgenre by using artist mode instead of album mode. |
There is no official API, only on unofficial one at https://github.com/simon-weber/gmusicapi (seems quite well maintained) Don't know if it is feasible to scrape google music itself? |
I have no experience with Python, only php. I created a very simple form that takes an artist and album as input en returns the genres listed for that album. Would be great if anyone could make it into a beets plugin!
|
The problem with this, and any form of HTML scraping, is that if Google changes the page layout slightly or the way they represent genre information, the code will break. Which is why an API is helpful - the developers usually guarantee it to be stable, or at least warn people in advance if it's likely to change. |
the unofficial gmusic api is great. I use it to sync and create playlists. Not sure if you can pull genre from any query as a free user. The question is where does google get the genre? and can we scrape that...I've been using lastfm genres, but it has alot of possibilities...sometimes too many (i know there are whitelists and stuff). I was thinking of moving the lastfm tags to comments or some other tag and use a more conservative subset for genre field. like google or wikipedia or discogs maybe? |
Closing, since there's no more Google Play Music: #4089 |
I like how the Google Play music store has set up it's genres: A few big main genres.
Is it possible to scrape the genre from there?
The text was updated successfully, but these errors were encountered: