Describe the bug
get_artist(channelId) returns the artist name, description, and images, but songs.results, albums.results, and singles.results are empty. No exception.
YT Music is serving some artist pages as twoColumnBrowseResultsRenderer. The parser only walks singleColumnBrowseResultsRenderer.tabs[...].sectionListRenderer.contents, so the section list collapses to [].
PR #878 added a two-column fallback for albums, playlists, and podcasts. Artist is not covered.
ytmusicapi version
1.11.5
To Reproduce
from ytmusicapi import YTMusic
yt = YTMusic("browser.json")
a = yt.get_artist("UC5xaQ6_dP7EGDmGLzVGZ1Ow") # Morgan Wallen
print(a["name"]) # Morgan Wallen
print(len(a["songs"]["results"])) # 0 (expected 5)
print(len(a["albums"]["results"])) # 0 (expected many)
Reproduces on multiple popular artists, authenticated and unauthenticated.
Additional context
Hits via Music Assistant 2.8.7. MA's artist play_media fans out through get_artist().songs.results, so artist-tile playback fails with "No playable items found". Track and album URIs play normally.
The fix mirrors PR #878's get_browse_renderer() helper into the get_artist path.
Describe the bug
get_artist(channelId)returns the artist name, description, and images, butsongs.results,albums.results, andsingles.resultsare empty. No exception.YT Music is serving some artist pages as
twoColumnBrowseResultsRenderer. The parser only walkssingleColumnBrowseResultsRenderer.tabs[...].sectionListRenderer.contents, so the section list collapses to[].PR #878 added a two-column fallback for albums, playlists, and podcasts. Artist is not covered.
ytmusicapi version
1.11.5
To Reproduce
Reproduces on multiple popular artists, authenticated and unauthenticated.
Additional context
Hits via Music Assistant 2.8.7. MA's artist play_media fans out through
get_artist().songs.results, so artist-tile playback fails with "No playable items found". Track and album URIs play normally.The fix mirrors PR #878's
get_browse_renderer()helper into theget_artistpath.