[PR #753] [CLOSED] Fix get_artist to Retrieve Singles & EPs #725

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

📋 Pull Request Information

Original PR: https://github.com/sigma67/ytmusicapi/pull/753
Author: @DeanJ93
Created: 3/29/2025
Status: Closed

Base: mainHead: fix-get-singles


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 ytmusicapi/parsers/i18n.py (+1 -1)

📄 Description

Hi, can you please review this change?

Description:

YouTube Music changed the label from "Singles" to "Singles & EPs", causing ytmusicapi to no longer return singles in get_artist. See the screenshot below.

This PR updates parse_channel_contents to check for "Singles & EPs" instead of "singles", restoring the expected behavior.

Changes:

Updated the categories list in parse_channel_contents to use _("singles & EPs") instead of _("singles").

Testing:

Verified that get_artist now correctly returns singles.

Screenshot

image


🔄 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/753 **Author:** [@DeanJ93](https://github.com/DeanJ93) **Created:** 3/29/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-get-singles` --- ### 📝 Commits (1) - [`04737cb`](https://github.com/sigma67/ytmusicapi/commit/04737cb48ab3214413a38378871015a4c63136b3) Update i18n.py ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `ytmusicapi/parsers/i18n.py` (+1 -1) </details> ### 📄 Description Hi, can you please review this change? ## Description: YouTube Music changed the label from "Singles" to "Singles & EPs", causing ytmusicapi to no longer return singles in get_artist. See the screenshot below. This PR updates parse_channel_contents to check for "Singles & EPs" instead of "singles", restoring the expected behavior. ## Changes: Updated the categories list in parse_channel_contents to use _("singles & EPs") instead of _("singles"). ## Testing: Verified that get_artist now correctly returns singles. ## Screenshot ![image](https://github.com/user-attachments/assets/175cc059-d488-4100-ae46-ae60eb4eb9cd) --- <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:09 +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#725
No description provided.