[PR #7176] [MERGED] Fix trailers duplication #11292

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/7176
Author: @dmitrylyzo
Created: 1/14/2022
Status: Merged
Merged: 1/20/2022
Merged by: @Bond-009

Base: masterHead: fix-trailers-1


📝 Commits (4)

  • 112db30 Fix duplication of remote trailers
  • 5aa7480 Fix duplication of local trailers
  • 54549cd Remove unnecessary array allocation
  • 60fe77c Remove unnecessary array allocation

📊 Changes

3 files changed (+10 additions, -14 deletions)

View changed files

📝 Emby.Server.Implementations/Dto/DtoService.cs (+5 -4)
📝 Jellyfin.Api/Controllers/UserLibraryController.cs (+4 -9)
📝 MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs (+1 -1)

📄 Description

Changes

  • Fix duplication (same URL) of remote trailers
  • Fix duplication of local trailers

Issues

  • Wrong iterating over remote trailers causes duplication of remote trailers.
  • /LocalTrailers endpoint returns doubled local trailers.
  • .LocalTrailerCount is doubled as well.

🔄 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/7176 **Author:** [@dmitrylyzo](https://github.com/dmitrylyzo) **Created:** 1/14/2022 **Status:** ✅ Merged **Merged:** 1/20/2022 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `fix-trailers-1` --- ### 📝 Commits (4) - [`112db30`](https://github.com/jellyfin/jellyfin/commit/112db30ff2624de01aea79df8bce021597f946ff) Fix duplication of remote trailers - [`5aa7480`](https://github.com/jellyfin/jellyfin/commit/5aa748058e65eb18e1981b111715efd73922f737) Fix duplication of local trailers - [`54549cd`](https://github.com/jellyfin/jellyfin/commit/54549cd5b5e330cd96a8a527c404a5c4ebaa858c) Remove unnecessary array allocation - [`60fe77c`](https://github.com/jellyfin/jellyfin/commit/60fe77c089217211f3632e3a0528df75132d6bac) Remove unnecessary array allocation ### 📊 Changes **3 files changed** (+10 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Dto/DtoService.cs` (+5 -4) 📝 `Jellyfin.Api/Controllers/UserLibraryController.cs` (+4 -9) 📝 `MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs` (+1 -1) </details> ### 📄 Description **Changes** - Fix duplication (same URL) of remote trailers - Fix duplication of local trailers **Issues** - Wrong iterating over remote trailers causes duplication of remote trailers. - `/LocalTrailers` endpoint returns doubled local trailers. - `.LocalTrailerCount` is doubled as well. --- <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:35:52 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11292