mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[PR #563] [MERGED] Add "type" attribute to library channels #653
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#653
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/563
Author: @fischcode
Created: 3/13/2024
Status: ✅ Merged
Merged: 3/13/2024
Merged by: @sigma67
Base:
main← Head:main📝 Commits (3)
847023aAdd "type" attribute to library channels5057ca9format parsers/library.py04d3cb2remove backup file created by WinMerge📊 Changes
1 file changed (+5 additions, -0 deletions)
View changed files
📝
ytmusicapi/parsers/library.py(+5 -0)📄 Description
YTMusic Library Channels list not only channels in the narrow sense but also artists publishing podcasts and episodes (e.g. The Offspring). To distinguish the two types of items, the json code contains a page_type attribute: get_library_channels response.json. This PR adds code to read the page_type attribute and, if present, add a "tyoe" item with a value of "channel" or "artist" to the artist dictionary object.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.