[PR #13498] [MERGED] Handle empty image lists gracefully in SplashscreenPostScanTask #13603

Closed
opened 2026-02-07 07:15:57 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/13498
Author: @gnattu
Created: 2/5/2025
Status: Merged
Merged: 2/9/2025
Merged by: @crobibero

Base: masterHead: grace-error-splash-posttask


📝 Commits (1)

  • 05a515c Handle empty image lists gracefully in SplashscreenPostScanTask

📊 Changes

1 file changed (+15 additions, -3 deletions)

View changed files

📝 Emby.Server.Implementations/Library/SplashscreenPostScanTask.cs (+15 -3)

📄 Description

The current linq will just throw when there is no image candidates. Just pass empty lists to CreateSplashscreen as this case is already handled there.

Changes

Issues


🔄 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/13498 **Author:** [@gnattu](https://github.com/gnattu) **Created:** 2/5/2025 **Status:** ✅ Merged **Merged:** 2/9/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `grace-error-splash-posttask` --- ### 📝 Commits (1) - [`05a515c`](https://github.com/jellyfin/jellyfin/commit/05a515c9ba35adb875bdec5db0628b237078f612) Handle empty image lists gracefully in SplashscreenPostScanTask ### 📊 Changes **1 file changed** (+15 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Library/SplashscreenPostScanTask.cs` (+15 -3) </details> ### 📄 Description The current linq will just throw when there is no image candidates. Just pass empty lists to `CreateSplashscreen` as this case is already handled there. <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> --- <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 07:15:57 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13603