aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library
diff options
context:
space:
mode:
authorJoe Rogers <1337joe@gmail.com>2023-03-06 23:27:21 -0500
committerJoe Rogers <1337joe@gmail.com>2023-03-06 23:27:21 -0500
commit361fff3a0c1b2e5c14e991d53f5736e909b889b6 (patch)
tree24d6db169af655caab96511cced74da85abeb3d5 /Emby.Server.Implementations/Library
parent18b8efa7e0c532ce51a0d72a6d8690f8f4a3f302 (diff)
Fix cases where multiple files are resolved as a single book
Diffstat (limited to 'Emby.Server.Implementations/Library')
-rw-r--r--Emby.Server.Implementations/Library/Resolvers/Audio/AudioResolver.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/Resolvers/Audio/AudioResolver.cs b/Emby.Server.Implementations/Library/Resolvers/Audio/AudioResolver.cs
index 69e905798..a74f82475 100644
--- a/Emby.Server.Implementations/Library/Resolvers/Audio/AudioResolver.cs
+++ b/Emby.Server.Implementations/Library/Resolvers/Audio/AudioResolver.cs
@@ -192,7 +192,8 @@ namespace Emby.Server.Implementations.Library.Resolvers.Audio
continue;
}
- if (resolvedItem.Files.Count == 0)
+ // Until multi-part books are handled letting files stack hides them from browsing in the client
+ if (resolvedItem.Files.Count == 0 || resolvedItem.Extras.Count > 0 || resolvedItem.AlternateVersions.Count > 0)
{
continue;
}