[GH-ISSUE #133] release year and genre information #98

Closed
opened 2026-02-27 22:08:00 +03:00 by kerem · 2 comments
Owner

Originally created by @phirestalker on GitHub (Dec 26, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/133

I noticed that YT music shows "moods" which correspond to genres and era music. Do they pass the genre or folksonomy of the songs somewhere where we can get at them? I see that the example has a date of some sort in the dict for library songs. Is that date the upload date or is it the release date of the song?

I am currently using MusicBrainz to get the release year and the genres of each song, but my script would speed up considerably if the data was already part of the song dict.

Let me know if it is possible, and how I can help.

Originally created by @phirestalker on GitHub (Dec 26, 2020). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/133 I noticed that YT music shows "moods" which correspond to genres and era music. Do they pass the genre or folksonomy of the songs somewhere where we can get at them? I see that the example has a date of some sort in the dict for library songs. Is that date the upload date or is it the release date of the song? I am currently using MusicBrainz to get the release year and the genres of each song, but my script would speed up considerably if the data was already part of the song dict. Let me know if it is possible, and how I can help.
kerem closed this issue 2026-02-27 22:08:00 +03:00
Author
Owner

@sigma67 commented on GitHub (Dec 26, 2020):

I'm afraid not. Usually what you can see in the frontend is all we get from the API, with a few exceptions like get_album (we can get the precise release date of an album as you can see in the docs).

Personally I haven't seen any example of genres being returned, but I don't presume to have complete knowledge of the API. For example, the Discover tab has not been implemented at all yet.

I see that the example has a date of some sort in the dict for library songs. Is that date the upload date or is it the release date of the song?

Not sure which example you're referring to.

<!-- gh-comment-id:751394931 --> @sigma67 commented on GitHub (Dec 26, 2020): I'm afraid not. Usually what you can see in the frontend is all we get from the API, with a few exceptions like `get_album` (we can get the precise release date of an album as you can see in the docs). Personally I haven't seen any example of genres being returned, but I don't presume to have complete knowledge of the API. For example, the Discover tab has not been implemented at all yet. > I see that the example has a date of some sort in the dict for library songs. Is that date the upload date or is it the release date of the song? Not sure which example you're referring to.
Author
Owner

@phirestalker commented on GitHub (Dec 26, 2020):

Sorry, it was get_song. It has a key called release with a date in it. I was wondering if you know it to be the release date to YT music or the original release date of the song? Although if I have to get the genre from MB I might as well get the date there too.

<!-- gh-comment-id:751396103 --> @phirestalker commented on GitHub (Dec 26, 2020): Sorry, it was get_song. It has a key called release with a date in it. I was wondering if you know it to be the release date to YT music or the original release date of the song? Although if I have to get the genre from MB I might as well get the date there too.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#98
No description provided.