[PR #1] [MERGED] feat: Complete overhaul of YT Music provider with advanced parsing & enrichment #1

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

📋 Pull Request Information

Original PR: https://github.com/Amonoman/YT-Music-SpotiFLAC/pull/1
Author: @zarzet
Created: 1/14/2026
Status: Merged
Merged: 1/14/2026
Merged by: @Amonoman

Base: mainHead: main


📝 Commits (1)

  • b7f7940 Update cleanup logging and album parsing logic

📊 Changes

2 files changed (+1361 additions, -85 deletions)

View changed files

📝 index.js (+1348 -77)
📝 manifest.json (+13 -8)

📄 Description

This PR introduces a significant update to the YouTube Music extension backend, adding over 1,300 lines of code to improve stability, metadata quality, and feature completeness.

Advanced Parsing Engine: Completely rewritten parsers (parseItemExtended, parseCollectionItem) to handle complex YouTube Music responses, including flexColumns, nested runs, and various item renderers.

Metadata Enrichment: Integrated the Odesli (song.link) API to automatically fetch ISRC codes and external links (Spotify, Tidal, Deezer) for improved matching accuracy.

Robust Networking: Implemented safeFetch with automatic retries, exponential backoff, and User-Agent rotation to prevent rate limiting.

Full "Browse" Support: Massive improvements to getAlbum, getPlaylist, and getArtist, utilizing the native YouTube browse endpoint structure optimized for the new UI.

Fallback Mechanisms: Added smart fallbacks for thumbnails, artist names, and album metadata to ensure data availability even when primary fields are missing.

Debugging: Enhanced logging system with specific log levels (info, warn, error, debug) for easier troubleshooting.


🔄 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/Amonoman/YT-Music-SpotiFLAC/pull/1 **Author:** [@zarzet](https://github.com/zarzet) **Created:** 1/14/2026 **Status:** ✅ Merged **Merged:** 1/14/2026 **Merged by:** [@Amonoman](https://github.com/Amonoman) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`b7f7940`](https://github.com/Amonoman/YT-Music-SpotiFLAC/commit/b7f794090e8bb7093112daa255f995d688359f6a) Update cleanup logging and album parsing logic ### 📊 Changes **2 files changed** (+1361 additions, -85 deletions) <details> <summary>View changed files</summary> 📝 `index.js` (+1348 -77) 📝 `manifest.json` (+13 -8) </details> ### 📄 Description This PR introduces a significant update to the YouTube Music extension backend, adding over 1,300 lines of code to improve stability, metadata quality, and feature completeness. Advanced Parsing Engine: Completely rewritten parsers (parseItemExtended, parseCollectionItem) to handle complex YouTube Music responses, including flexColumns, nested runs, and various item renderers. Metadata Enrichment: Integrated the Odesli (song.link) API to automatically fetch ISRC codes and external links (Spotify, Tidal, Deezer) for improved matching accuracy. Robust Networking: Implemented safeFetch with automatic retries, exponential backoff, and User-Agent rotation to prevent rate limiting. Full "Browse" Support: Massive improvements to getAlbum, getPlaylist, and getArtist, utilizing the native YouTube browse endpoint structure optimized for the new UI. Fallback Mechanisms: Added smart fallbacks for thumbnails, artist names, and album metadata to ensure data availability even when primary fields are missing. Debugging: Enhanced logging system with specific log levels (info, warn, error, debug) for easier troubleshooting. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 19:06:32 +03:00
Sign in to join this conversation.
No labels
pull-request
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/YT-Music-SpotiFLAC#1
No description provided.