From c9a6f75d0dbec8bd9ccf2a12b1d3f5339ab83a53 Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Sun, 29 Sep 2024 03:43:59 +0200 Subject: [PATCH] misc: log library id in import folder iteration step during VFS generation --- Shokofin/Resolvers/VirtualFileSystemService.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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