[PR #60] [MERGED] Ensure single track downloads use full album-style filename metadata #121

Closed
opened 2026-03-03 00:07:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/binimum/tidal-ui/pull/60
Author: @Simo93-rgb
Created: 11/20/2025
Status: Merged
Merged: 11/20/2025
Merged by: @binimum

Base: mainHead: enhancement-consistent-download-names


📝 Commits (1)

  • 0eebdaf refactor: improve track filename generation and formatting in AudioPlayer, TopTracksGrid, and TrackList components.

📊 Changes

3 files changed (+73 additions, -47 deletions)

View changed files

📝 src/lib/components/AudioPlayer.svelte (+54 -40)
📝 src/lib/components/TopTracksGrid.svelte (+11 -4)
📝 src/lib/components/TrackList.svelte (+8 -3)

📄 Description

This merge request addresses an inconsistency in filename generation between single track and album downloads.

  • Current behavior:

    • Single track download → {artist} - {title}.{extension}
    • Album download → {artist} - {album} - {volume}-{track number} {title}.{extension}
  • Problem:
    Single track downloads lack important metadata (album name, track number, volume) that are included when downloading an entire album. This results in inconsistent filenames and makes file organization less clear.

  • Solution:
    Centralized the filename generation logic so that single track downloads now follow the same schema as album downloads:
    {artist} - {album} - {volume}-{track number} {title}.{extension}

  • Impact:

    • Uniform naming convention across all downloads.
    • Improved clarity and consistency in local music libraries.
    • No breaking changes for existing album downloads.

🔄 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/binimum/tidal-ui/pull/60 **Author:** [@Simo93-rgb](https://github.com/Simo93-rgb) **Created:** 11/20/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@binimum](https://github.com/binimum) **Base:** `main` ← **Head:** `enhancement-consistent-download-names` --- ### 📝 Commits (1) - [`0eebdaf`](https://github.com/binimum/tidal-ui/commit/0eebdaf72f030b7f2520a4a0d364571fbdf22d9f) refactor: improve track filename generation and formatting in AudioPlayer, TopTracksGrid, and TrackList components. ### 📊 Changes **3 files changed** (+73 additions, -47 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/AudioPlayer.svelte` (+54 -40) 📝 `src/lib/components/TopTracksGrid.svelte` (+11 -4) 📝 `src/lib/components/TrackList.svelte` (+8 -3) </details> ### 📄 Description This merge request addresses an inconsistency in filename generation between single track and album downloads. - **Current behavior:** - Single track download → `{artist} - {title}.{extension}` - Album download → `{artist} - {album} - {volume}-{track number} {title}.{extension}` - **Problem:** Single track downloads lack important metadata (album name, track number, volume) that are included when downloading an entire album. This results in inconsistent filenames and makes file organization less clear. - **Solution:** Centralized the filename generation logic so that single track downloads now follow the same schema as album downloads: `{artist} - {album} - {volume}-{track number} {title}.{extension}` - **Impact:** - Uniform naming convention across all downloads. - Improved clarity and consistency in local music libraries. - No breaking changes for existing album downloads. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:07:52 +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/tidal-ui#121
No description provided.