[GH-ISSUE #617] get_album returns invalid artist data for track items in 1.7.4 #421

Closed
opened 2026-02-27 23:00:43 +03:00 by kerem · 1 comment
Owner

Originally created by @MarvinSchenkel on GitHub (Jul 11, 2024).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/617

As of 1.7.4, I am seeing invalid data returned for the track items list that is returned by the get_album function.

Here is the debug output of an album with id "MPREb_OUaeJveVKM0":
1.7.4
image

1.7.3
image

Additional context
Add any other context about the problem here, such as a code sample.

Originally created by @MarvinSchenkel on GitHub (Jul 11, 2024). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/617 As of 1.7.4, I am seeing invalid data returned for the track items list that is returned by the `get_album` function. Here is the debug output of an album with id "MPREb_OUaeJveVKM0": **1.7.4** ![image](https://github.com/sigma67/ytmusicapi/assets/17671719/aeaf7096-f6be-4d26-9f96-3e15cd2aea61) **1.7.3** ![image](https://github.com/sigma67/ytmusicapi/assets/17671719/4bd5c6de-0dbb-48c0-a596-34d2b654f88a) **Additional context** Add any other context about the problem here, such as a code sample.
kerem closed this issue 2026-02-27 23:00:43 +03:00
Author
Owner

@czifumasa commented on GitHub (Jul 11, 2024):

I think it's the result of my changes in #612.

Here's response from browse:

{"flexColumns": [
                                               {
                                                   "musicResponsiveListItemFlexColumnRenderer": {
                                                       "text": {
                                                           "runs": [
                                                               {
                                                                   "text": "Nothing Left at All",
                                                                   "navigationEndpoint": {
                                                                       "clickTrackingParams": "CKoBEMn0AhgCIhMI6tfftM2ehwMVEtBCBR3Vag8w",
                                                                       "watchEndpoint": {
                                                                           "videoId": "wJwY5KWJElk",
                                                                           "playlistId": "OLAK5uy_lnl2JfXqexo-ry4GFbw5EXZVuSM9MEEvU",
                                                                           "loggingContext": {
                                                                               "vssLoggingContext": {
                                                                                   "serializedContextData": "GilPTEFLNXV5X2xubDJKZlhxZXhvLXJ5NEdGYnc1RVhaVnVTTTlNRUV2VQ%3D%3D"
                                                                               }
                                                                           },
                                                                           "watchEndpointMusicSupportedConfigs": {
                                                                               "watchEndpointMusicConfig": {
                                                                                   "musicVideoType": "MUSIC_VIDEO_TYPE_ATV"
                                                                               }
                                                                           }
                                                                       }
                                                                   }
                                                               }
                                                           ]
                                                       },
                                                       "displayPriority": "MUSIC_RESPONSIVE_LIST_ITEM_COLUMN_DISPLAY_PRIORITY_HIGH"
                                                   }
                                               },
                                               {
                                                   "musicResponsiveListItemFlexColumnRenderer": {
                                                       "text": {},
                                                       "displayPriority": "MUSIC_RESPONSIVE_LIST_ITEM_COLUMN_DISPLAY_PRIORITY_HIGH"
                                                   }
                                               },
                                               {
                                                   "musicResponsiveListItemFlexColumnRenderer": {
                                                       "text": {
                                                           "runs": [
                                                               {
                                                                   "text": "44M plays"
                                                               }
                                                           ]
                                                       },
                                                       "displayPriority": "MUSIC_RESPONSIVE_LIST_ITEM_COLUMN_DISPLAY_PRIORITY_HIGH"
                                                   }
                                               }
                                           ]}

This is a flexColumn for an artist:

{
"musicResponsiveListItemFlexColumnRenderer": {
  "text": {},
 "displayPriority": "MUSIC_RESPONSIVE_LIST_ITEM_COLUMN_DISPLAY_PRIORITY_HIGH"
 }
}

it was skipped in parsing, because it was empty and then "Plays" column has been used as an artist. I will send PR with a fix.

<!-- gh-comment-id:2222407021 --> @czifumasa commented on GitHub (Jul 11, 2024): I think it's the result of my changes in #612. Here's response from browse: ```javascript {"flexColumns": [ { "musicResponsiveListItemFlexColumnRenderer": { "text": { "runs": [ { "text": "Nothing Left at All", "navigationEndpoint": { "clickTrackingParams": "CKoBEMn0AhgCIhMI6tfftM2ehwMVEtBCBR3Vag8w", "watchEndpoint": { "videoId": "wJwY5KWJElk", "playlistId": "OLAK5uy_lnl2JfXqexo-ry4GFbw5EXZVuSM9MEEvU", "loggingContext": { "vssLoggingContext": { "serializedContextData": "GilPTEFLNXV5X2xubDJKZlhxZXhvLXJ5NEdGYnc1RVhaVnVTTTlNRUV2VQ%3D%3D" } }, "watchEndpointMusicSupportedConfigs": { "watchEndpointMusicConfig": { "musicVideoType": "MUSIC_VIDEO_TYPE_ATV" } } } } } ] }, "displayPriority": "MUSIC_RESPONSIVE_LIST_ITEM_COLUMN_DISPLAY_PRIORITY_HIGH" } }, { "musicResponsiveListItemFlexColumnRenderer": { "text": {}, "displayPriority": "MUSIC_RESPONSIVE_LIST_ITEM_COLUMN_DISPLAY_PRIORITY_HIGH" } }, { "musicResponsiveListItemFlexColumnRenderer": { "text": { "runs": [ { "text": "44M plays" } ] }, "displayPriority": "MUSIC_RESPONSIVE_LIST_ITEM_COLUMN_DISPLAY_PRIORITY_HIGH" } } ]} ``` This is a flexColumn for an artist: ```javascript { "musicResponsiveListItemFlexColumnRenderer": { "text": {}, "displayPriority": "MUSIC_RESPONSIVE_LIST_ITEM_COLUMN_DISPLAY_PRIORITY_HIGH" } } ``` it was skipped in parsing, because it was empty and then "Plays" column has been used as an artist. I will send PR with a fix.
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#421
No description provided.