[PR #399] [MERGED] Fix 'secondSubtitle' KeyError for some playlists #608

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

📋 Pull Request Information

Original PR: https://github.com/sigma67/ytmusicapi/pull/399
Author: @MarvinSchenkel
Created: 6/17/2023
Status: Merged
Merged: 6/25/2023
Merged by: @sigma67

Base: masterHead: master


📝 Commits (2)

  • 7fbf163 Fix 'secondSubtitle' KeyError for some playlists
  • be0c27f Feedback.

📊 Changes

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

View changed files

📝 ytmusicapi/mixins/playlists.py (+10 -8)

📄 Description

This PR fixes parsing of playlists that do not have a ['secondSubtitle']['runs'] property. An example of this play list is https://music.youtube.com/playlist?list=RDATgXd-


🔄 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/399 **Author:** [@MarvinSchenkel](https://github.com/MarvinSchenkel) **Created:** 6/17/2023 **Status:** ✅ Merged **Merged:** 6/25/2023 **Merged by:** [@sigma67](https://github.com/sigma67) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`7fbf163`](https://github.com/sigma67/ytmusicapi/commit/7fbf163f69425f3867321158bbe7da8bb754b20e) Fix 'secondSubtitle' KeyError for some playlists - [`be0c27f`](https://github.com/sigma67/ytmusicapi/commit/be0c27f12a411ee3464ba69b00c8910419faa597) Feedback. ### 📊 Changes **1 file changed** (+10 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `ytmusicapi/mixins/playlists.py` (+10 -8) </details> ### 📄 Description This PR fixes parsing of playlists that do not have a `['secondSubtitle']['runs']` property. An example of this play list is https://music.youtube.com/playlist?list=RDATgXd- --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 23:01:41 +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#608
No description provided.