mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #5848] [MERGED] Fix ArgumentOutOfRangeException scanning AudioBooks #10690
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:IndexError📝 Commits (1)
e841922Fix 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.