[PR #791] [MERGED] get_album: distinguish between "other versions" and "releases for you" #737

Closed
opened 2026-02-27 23:02:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigma67/ytmusicapi/pull/791
Author: @sgvictorino
Created: 7/28/2025
Status: Merged
Merged: 7/29/2025
Merged by: @sigma67

Base: mainHead: fix-other_versions


📝 Commits (2)

  • 8359cb9 parse_album: return audioPlaylistId for Premium users
  • 6a06458 get_album: distinguish between "other versions" and "releases for you"

📊 Changes

6 files changed (+26 additions, -13 deletions)

View changed files

📝 tests/mixins/test_browsing.py (+6 -2)
📝 ytmusicapi/mixins/browsing.py (+10 -4)
📝 ytmusicapi/navigation.py (+2 -1)
📝 ytmusicapi/parsers/albums.py (+5 -0)
📝 ytmusicapi/parsers/browsing.py (+2 -1)
📝 ytmusicapi/parsers/search.py (+1 -5)

📄 Description

  • adds related_recommendations, a list of albums in "Releases for you"
  • other_versions no longer contains those recommendations when its carousel is positioned after "Releases for you"
  • audioPlaylistId is no longer None when parse_album is called with a Premium account (test_get_album_other_versions can now be used to assert this)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigma67/ytmusicapi/pull/791 **Author:** [@sgvictorino](https://github.com/sgvictorino) **Created:** 7/28/2025 **Status:** ✅ Merged **Merged:** 7/29/2025 **Merged by:** [@sigma67](https://github.com/sigma67) **Base:** `main` ← **Head:** `fix-other_versions` --- ### 📝 Commits (2) - [`8359cb9`](https://github.com/sigma67/ytmusicapi/commit/8359cb9d9cd1fe48f3c4d8d7da10bc0d4889dbaa) parse_album: return audioPlaylistId for Premium users - [`6a06458`](https://github.com/sigma67/ytmusicapi/commit/6a064585f44d87e12ac0c2c6a4ad34bc249e72fd) get_album: distinguish between "other versions" and "releases for you" ### 📊 Changes **6 files changed** (+26 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `tests/mixins/test_browsing.py` (+6 -2) 📝 `ytmusicapi/mixins/browsing.py` (+10 -4) 📝 `ytmusicapi/navigation.py` (+2 -1) 📝 `ytmusicapi/parsers/albums.py` (+5 -0) 📝 `ytmusicapi/parsers/browsing.py` (+2 -1) 📝 `ytmusicapi/parsers/search.py` (+1 -5) </details> ### 📄 Description - adds `related_recommendations`, a list of albums in "Releases for you" - `other_versions` no longer contains those recommendations when its carousel is positioned after "Releases for you" - `audioPlaylistId` is no longer `None` when `parse_album` is called with a Premium account (`test_get_album_other_versions` can now be used to assert this) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 23:02:12 +03:00
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#737
No description provided.