mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 23:36:00 +03:00
[PR #753] [CLOSED] Fix get_artist to Retrieve Singles & EPs #725
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#725
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigma67/ytmusicapi/pull/753
Author: @DeanJ93
Created: 3/29/2025
Status: ❌ Closed
Base:
main← Head:fix-get-singles📝 Commits (1)
04737cbUpdate i18n.py📊 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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.