[GH-ISSUE #61] get_history() now returning non-"song" videos #43

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

Originally created by @ngt-magee on GitHub (Aug 19, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/61

I'm doing a lot of testing on the API this week, hope my filing of issues is helpful and not obnoxious. I know the API is in flux, just adding info as I discover it and happy to help debug or work on PRs although I'm a weak developer.

Until this morning (8/19), get_history() was excluding non-"song" type YouTube videos, and it is now returning them. In this case videoId jjwilAja7Lc. I discovered this while trying to pull out the ['artists'] key from the get_song() JSON.

Not sure if this is really an issue, but it's worth knowing for those who are using the info assuming that a "song" with "artists" is being returned.

Originally created by @ngt-magee on GitHub (Aug 19, 2020). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/61 I'm doing a lot of testing on the API this week, hope my filing of issues is helpful and not obnoxious. I know the API is in flux, just adding info as I discover it and happy to help debug or work on PRs although I'm a weak developer. Until this morning (8/19), `get_history()` was excluding non-"song" type YouTube videos, and it is now returning them. In this case videoId `jjwilAja7Lc`. I discovered this while trying to pull out the `['artists']` key from the `get_song()` JSON. Not sure if this is really an issue, but it's worth knowing for those who are using the info assuming that a "song" with "artists" is being returned.
kerem closed this issue 2026-02-27 22:07:43 +03:00
Author
Owner

@ngt-magee commented on GitHub (Aug 19, 2020):

Update: this behavior appears to be sporadic. I'm really having trouble getting consistent results from get_history()

<!-- gh-comment-id:676664082 --> @ngt-magee commented on GitHub (Aug 19, 2020): Update: this behavior appears to be sporadic. I'm really having trouble getting consistent results from `get_history()`
Author
Owner

@sigma67 commented on GitHub (Aug 23, 2020):

Thanks for the heads up. Seems like there are some server-side changes going on if you didn't change anything. I suggest we merge this into #56 .

<!-- gh-comment-id:678757729 --> @sigma67 commented on GitHub (Aug 23, 2020): Thanks for the heads up. Seems like there are some server-side changes going on if you didn't change anything. I suggest we merge this into #56 .
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#43
No description provided.