[PR #661] [MERGED] Fix duration parsing for very long videos #694

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

📋 Pull Request Information

Original PR: https://github.com/sigma67/ytmusicapi/pull/661
Author: @abhishekmj303
Created: 10/10/2024
Status: Merged
Merged: 10/15/2024
Merged by: @sigma67

Base: mainHead: parse-duration-patch


📝 Commits (4)

  • 7d7d4b2 Fix duration parsing for very long videos sigma67#660
  • d3d822b parse duration only when digits are present
  • 3a8e6b3 explicit return None
  • faf1dc5 Add test for track dur > 1k hrs

📊 Changes

2 files changed (+6 additions, -1 deletions)

View changed files

📝 tests/mixins/test_playlists.py (+1 -0)
📝 ytmusicapi/parsers/_utils.py (+5 -1)

📄 Description

Fixes #660


🔄 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/661 **Author:** [@abhishekmj303](https://github.com/abhishekmj303) **Created:** 10/10/2024 **Status:** ✅ Merged **Merged:** 10/15/2024 **Merged by:** [@sigma67](https://github.com/sigma67) **Base:** `main` ← **Head:** `parse-duration-patch` --- ### 📝 Commits (4) - [`7d7d4b2`](https://github.com/sigma67/ytmusicapi/commit/7d7d4b27ef763159b99881a2bad4b92a76f3eea9) Fix duration parsing for very long videos sigma67#660 - [`d3d822b`](https://github.com/sigma67/ytmusicapi/commit/d3d822b820a295bbeec7cb047408297578c07840) parse duration only when digits are present - [`3a8e6b3`](https://github.com/sigma67/ytmusicapi/commit/3a8e6b317c3f51be1ea47a97c28404b4d1718180) explicit return None - [`faf1dc5`](https://github.com/sigma67/ytmusicapi/commit/faf1dc5af087c1b0d51a958954ba611f87abafc0) Add test for track dur > 1k hrs ### 📊 Changes **2 files changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tests/mixins/test_playlists.py` (+1 -0) 📝 `ytmusicapi/parsers/_utils.py` (+5 -1) </details> ### 📄 Description Fixes #660 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 23:02:02 +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#694
No description provided.