mirror of
https://github.com/afkarxyz/SpotiFLAC.git
synced 2026-04-25 23:25:57 +03:00
[PR #168] [MERGED] Showing singular "song" if playlist or album only has one song #1272
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SpotiFLAC#1272
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/afkarxyz/SpotiFLAC/pull/168
Author: @KyleARector
Created: 12/17/2025
Status: ✅ Merged
Merged: 12/19/2025
Merged by: @afkarxyz
Base:
main← Head:main📝 Commits (1)
67cec32Showing singular "song" if playlist or album only has one song📊 Changes
2 files changed (+6 additions, -2 deletions)
View changed files
📝
frontend/src/components/AlbumInfo.tsx(+3 -1)📝
frontend/src/components/PlaylistInfo.tsx(+3 -1)📄 Description
Absolutely love this utility! This PR is the tiniest of nitpicks, just showing the singular word "song" if a playlist or album has only one item.
Also open to something in the vein of
{albumInfo.total_tracks} song{albumInfo.total_tracks !== 1 && "s"}if that is more stylistically consistent/appropriate. Thank you!🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.