Shokofin: unhandled exception scanning movies
Jellyfin version.
10.9.11
Shokofin version.
4.1.1.33 (dev)
Shoko Server version, release channel, and commit hash.
4.2.2
File structure of your Media Library Folder in Jellyfin/Import Folder in Shoko Server.
…/Movies/<name>/<file>.xyz
Screenshot of the “library settings” section of the plugin settings.
Library Type(s).
Movies
Do the issue persists after creating a library with Shoko set as the only metadata provider? (Now is your time to check if you haven’t already.)
- Yes, I hereby confirm that the issue persists after creating a library with Shoko set as the only metadata provider.
Issue
When scanning Movies, an exception occurs. From what i can tell from exception message, its not directly a plugin-exception, but an error from shoko api. I did check shoko logs too, but no real details there. ill append shoko last log messages too.
Stack Trace
[2024-09-11 18:13:26.845 +02:00] [INF] [33] Shokofin.Resolvers.ShokoIgnoreRule: Found shoko group "Goblin Slayer: Goblin's Crown" (Series="2756",ExtraSeries=[],Group="2253") [2024-09-11 18:13:27.009 +02:00] [INF] [33] Shokofin.Resolvers.ShokoIgnoreRule: Found shoko group "Eiga Go-Toubun no Hanayome" (Series="3979",ExtraSeries=[],Group="3206") [2024-09-11 18:13:27.270 +02:00] [INF] [33] Shokofin.Resolvers.ShokoIgnoreRule: Found show in movie library, ignoring shoko series. (Series="4275",ExtraSeries=[]) [2024-09-11 18:13:27.349 +02:00] [ERR] [33] Shokofin.Resolvers.ShokoIgnoreRule: Threw unexpectedly; "InternalServerErrorException" Shokofin.API.Models.ApiException: InternalServerErrorException at Shokofin.API.ShokoAPIClient.<>c__DisplayClass19_0`1.<<Get>b__1>d.MoveNext() --- End of stack trace from previous location --- at Shokofin.Utils.GuardedMemoryCache.GetOrCreateAsync[TItem](Object key, Action`1 foundAction, Func`1 createFactory, MemoryCacheEntryOptions createOptions) at Shokofin.API.ShokoAPIClient.Get[ReturnType](String url, HttpMethod method, String apiKey, Boolean skipCache) at Shokofin.API.ShokoAPIManager.GetSeriesIdsForSeason(String seriesId) at Shokofin.API.ShokoAPIManager.GetSeriesIdForPath(String path) at Shokofin.API.ShokoAPIManager.GetSeasonInfoByPath(String path) at Shokofin.Resolvers.ShokoIgnoreRule.ShouldFilterDirectory(String partialPath, String fullPath, Nullable`1 collectionType, Boolean shouldIgnore) at Shokofin.Resolvers.ShokoIgnoreRule.ShouldFilterItem(Folder parent, FileSystemMetadata fileInfo) [2024-09-11 18:13:27.366 +02:00] [ERR] [8] MediaBrowser.Controller.Entities.BaseItem: Error retrieving children Shokofin.API.Models.ApiException: InternalServerErrorException at Shokofin.API.ShokoAPIClient.<>c__DisplayClass19_0`1.<<Get>b__1>d.MoveNext() --- End of stack trace from previous location --- at Shokofin.Utils.GuardedMemoryCache.GetOrCreateAsync[TItem](Object key, Action`1 foundAction, Func`1 createFactory, MemoryCacheEntryOptions createOptions) at Shokofin.API.ShokoAPIClient.Get[ReturnType](String url, HttpMethod method, String apiKey, Boolean skipCache) at Shokofin.API.ShokoAPIManager.GetSeriesIdsForSeason(String seriesId) at Shokofin.API.ShokoAPIManager.GetSeriesIdForPath(String path) at Shokofin.API.ShokoAPIManager.GetSeasonInfoByPath(String path) at Shokofin.Resolvers.ShokoIgnoreRule.ShouldFilterDirectory(String partialPath, String fullPath, Nullable`1 collectionType, Boolean shouldIgnore) at Shokofin.Resolvers.ShokoIgnoreRule.ShouldFilterItem(Folder parent, FileSystemMetadata fileInfo) at Shokofin.Resolvers.ShokoIgnoreRule.MediaBrowser.Controller.Resolvers.IResolverIgnoreRule.ShouldIgnore(FileSystemMetadata fileInfo, BaseItem parent) at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate) at Emby.Server.Implementations.Library.LibraryManager.IgnoreFile(FileSystemMetadata file, BaseItem parent) at Emby.Server.Implementations.Library.LibraryManager.<>c__DisplayClass87_0.<ResolvePaths>b__0(FileSystemMetadata i) at System.Linq.Enumerable.WhereArrayIterator`1.ToList() at Emby.Server.Implementations.Library.LibraryManager.ResolvePaths(IEnumerable`1 files, IDirectoryService directoryService, Folder parent, LibraryOptions libraryOptions, Nullable`1 collectionType, IItemResolver[] resolvers) at Emby.Server.Implementations.Library.LibraryManager.ResolvePaths(IEnumerable`1 files, IDirectoryService directoryService, Folder parent, LibraryOptions libraryOptions, Nullable`1 collectionType) at MediaBrowser.Controller.Entities.Folder.GetNonCachedChildren(IDirectoryService directoryService) at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
shoko log
2024-09-14 12:11:01 Info Event ‘00000000000000000000000000000000’ queued. 2024-09-14 12:11:01 Error Connection id “0HN68D0I7DM9N”, Request id “0HN68D0I7DM9N:00000007”: An unhandled exception was thrown by the application. 2024-09-14 12:13:11 Info Event ‘00000000000000000000000000000000’ queued. 2024-09-14 12:13:11 Error Connection id “0HN68D0I7DMB3”, Request id “0HN68D0I7DMB3:00000113”: An unhandled exception was thrown by the application. 2024-09-14 12:14:03 Info Event ‘00000000000000000000000000000000’ queued. 2024-09-14 12:14:03 Error Connection id “0HN68D0I7DMBM”, Request id “0HN68D0I7DMBM:00000003”: An unhandled exception was thrown by the application.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 28 (14 by maintainers)
its disabled: