[PR #4263] [MERGED] Defer image pre-fetching until the end of a refresh/scan #9984

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4263
Author: @cvium
Created: 10/3/2020
Status: Merged
Merged: 11/22/2020
Merged by: @joshuaboniface

Base: masterHead: defer_image_fetching


📝 Commits (8)

  • 763862c Defer image pre-fetching until the end of a refresh/scan
  • 5d3449e Fix xml doc comment
  • 1b18f86 Add missing parameter comments.
  • 4a81ee4 Add try-catch to avoid crashing the whole thing
  • bf54b55 Merge branch 'master' into defer_image_fetching
  • 79855a7 Update MetadataService.cs
  • d3b0080 Update MetadataService.cs
  • 969b9e2 Update ImageFetcherPostScanTask.cs

📊 Changes

6 files changed (+172 additions, -24 deletions)

View changed files

Emby.Server.Implementations/Library/ImageFetcherPostScanTask.cs (+130 -0)
📝 Emby.Server.Implementations/Library/LibraryManager.cs (+32 -13)
📝 MediaBrowser.Controller/Entities/BaseItem.cs (+0 -1)
📝 MediaBrowser.Controller/Entities/Folder.cs (+0 -5)
📝 MediaBrowser.Controller/Library/ILibraryManager.cs (+2 -0)
📝 MediaBrowser.Providers/Manager/MetadataService.cs (+8 -5)

📄 Description

Changes
Made image pre-fetching occur at the end of a scan/refresh.

Nice to have (not implemented)

  • DB persistence
  • Remove image pre-fetching from API endpoints as it may conflict with an on-going refresh

🔄 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/4263 **Author:** [@cvium](https://github.com/cvium) **Created:** 10/3/2020 **Status:** ✅ Merged **Merged:** 11/22/2020 **Merged by:** [@joshuaboniface](https://github.com/joshuaboniface) **Base:** `master` ← **Head:** `defer_image_fetching` --- ### 📝 Commits (8) - [`763862c`](https://github.com/jellyfin/jellyfin/commit/763862cbd879aceed9277d79c5e38e851403cfe6) Defer image pre-fetching until the end of a refresh/scan - [`5d3449e`](https://github.com/jellyfin/jellyfin/commit/5d3449e9dc8c43efa16669a390870c52676bcba5) Fix xml doc comment - [`1b18f86`](https://github.com/jellyfin/jellyfin/commit/1b18f86c8b92eb0c75ee6db27eaffce918afa988) Add missing parameter comments. - [`4a81ee4`](https://github.com/jellyfin/jellyfin/commit/4a81ee43dc7aed94012c312a8262a1426be9b6d9) Add try-catch to avoid crashing the whole thing - [`bf54b55`](https://github.com/jellyfin/jellyfin/commit/bf54b5579c15bdf8bb6e3dd6934ea23c45a62573) Merge branch 'master' into defer_image_fetching - [`79855a7`](https://github.com/jellyfin/jellyfin/commit/79855a76b1eca5c6aee3afc596f1569167862dd0) Update MetadataService.cs - [`d3b0080`](https://github.com/jellyfin/jellyfin/commit/d3b0080a27152337d26e2d94d8f3421d314fbf8b) Update MetadataService.cs - [`969b9e2`](https://github.com/jellyfin/jellyfin/commit/969b9e2a18aa76fd0b2915960ea799a12a9605a0) Update ImageFetcherPostScanTask.cs ### 📊 Changes **6 files changed** (+172 additions, -24 deletions) <details> <summary>View changed files</summary> ➕ `Emby.Server.Implementations/Library/ImageFetcherPostScanTask.cs` (+130 -0) 📝 `Emby.Server.Implementations/Library/LibraryManager.cs` (+32 -13) 📝 `MediaBrowser.Controller/Entities/BaseItem.cs` (+0 -1) 📝 `MediaBrowser.Controller/Entities/Folder.cs` (+0 -5) 📝 `MediaBrowser.Controller/Library/ILibraryManager.cs` (+2 -0) 📝 `MediaBrowser.Providers/Manager/MetadataService.cs` (+8 -5) </details> ### 📄 Description **Changes** Made image pre-fetching occur at the end of a scan/refresh. **Nice to have (not implemented)** - DB persistence - Remove image pre-fetching from API endpoints as it may conflict with an on-going refresh --- <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:12:01 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9984