[PR #5457] [MERGED] Use distinct for AllArtists to avoid double refreshing #10529

Closed
opened 2026-02-07 06:21:56 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5457
Author: @cvium
Created: 3/10/2021
Status: Merged
Merged: 3/12/2021
Merged by: @Bond-009

Base: masterHead: fix_double_artist


📝 Commits (1)

  • c5a8700 Use distinct for artists to avoid double refreshing

📊 Changes

2 files changed (+7 additions, -13 deletions)

View changed files

📝 MediaBrowser.Controller/Entities/Audio/IHasAlbumArtist.cs (+3 -9)
📝 MediaBrowser.Controller/Library/NameExtensions.cs (+4 -4)

📄 Description

It's not uncommon for an artist to be tagged as Artist and AlbumArtist in which case this line ee23d06154/MediaBrowser.Controller/Entities/Audio/MusicAlbum.cs (L202) will refresh the artist twice. This can lead to some weird behaviour.


🔄 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/jellyfin/jellyfin/pull/5457 **Author:** [@cvium](https://github.com/cvium) **Created:** 3/10/2021 **Status:** ✅ Merged **Merged:** 3/12/2021 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `fix_double_artist` --- ### 📝 Commits (1) - [`c5a8700`](https://github.com/jellyfin/jellyfin/commit/c5a870051a097e346360b66d063d2f3492f25b0b) Use distinct for artists to avoid double refreshing ### 📊 Changes **2 files changed** (+7 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Controller/Entities/Audio/IHasAlbumArtist.cs` (+3 -9) 📝 `MediaBrowser.Controller/Library/NameExtensions.cs` (+4 -4) </details> ### 📄 Description It's not uncommon for an artist to be tagged as Artist and AlbumArtist in which case this line https://github.com/jellyfin/jellyfin/blob/ee23d06154133ffc506dda3a8ef0e09d20c03c6c/MediaBrowser.Controller/Entities/Audio/MusicAlbum.cs#L202 will refresh the artist twice. This can lead to some weird behaviour. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:21:56 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10529