[PR #5848] [MERGED] Fix ArgumentOutOfRangeException scanning AudioBooks #10690

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5848
Author: @sgmoore
Created: 4/17/2021
Status: Merged
Merged: 4/19/2021
Merged by: @cvium

Base: masterHead: IndexError


📝 Commits (1)

  • e841922 Fix ArgumentOutOfRangeException scanning AudioBooks

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 Emby.Server.Implementations/Library/Resolvers/Audio/AudioResolver.cs (+5 -0)

📄 Description

AudioResolver.ResolveMultipleAudio method can attempt to access the first item in a List without checking if the list is empty which throws an ArgumentOutOfRangeException and stops the 'Scan Library' process.

Changes
Ignores items where the List of files is empty.


🔄 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/5848 **Author:** [@sgmoore](https://github.com/sgmoore) **Created:** 4/17/2021 **Status:** ✅ Merged **Merged:** 4/19/2021 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `IndexError` --- ### 📝 Commits (1) - [`e841922`](https://github.com/jellyfin/jellyfin/commit/e841922ffd9211cfeee5cca1bda4c139cbda9379) Fix ArgumentOutOfRangeException scanning AudioBooks ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Library/Resolvers/Audio/AudioResolver.cs` (+5 -0) </details> ### 📄 Description AudioResolver.ResolveMultipleAudio method can attempt to access the first item in a List without checking if the list is empty which throws an ArgumentOutOfRangeException and stops the 'Scan Library' process. **Changes** Ignores items where the List of files is empty. --- <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:24:59 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10690