diff --git a/Shokofin/Resolvers/VirtualFileSystemService.cs b/Shokofin/Resolvers/VirtualFileSystemService.cs index 971b42ee..b4885efa 100644 --- a/Shokofin/Resolvers/VirtualFileSystemService.cs +++ b/Shokofin/Resolvers/VirtualFileSystemService.cs @@ -525,6 +525,7 @@ private HashSet GetPathsForMediaFolders(IReadOnlyList(); var multiSeriesFiles = new List<(API.Models.File, string)>(); var totalSingleSeriesFiles = 0; + var libraryId = mediaConfigs[0].LibraryId; foreach (var (importFolderId, importFolderSubPath, mediaFolderPaths) in mediaConfigs.ToImportFolderList()) { var firstPage = ApiClient.GetFilesForImportFolder(importFolderId, importFolderSubPath); var pageData = firstPage @@ -533,10 +534,11 @@ private HashSet GetPathsForMediaFolders(IReadOnlyList GetPathsForMediaFolders(IReadOnlyList GetPathsForMediaFolders(IReadOnlyList