jellyfin / jellyfin-plugin-bookshelf

https://jellyfin.org
MIT License
205 stars 20 forks source link

Error getting metadata #3

Closed 97carmine closed 4 years ago

97carmine commented 5 years ago

Once the library is managed, when manually indicating the search for new content, the log shows the following error

[2019-08-11 11:29:27.009 +02:00] [ERR] Error in "Open Packaging Format"
System.NullReferenceException: Object reference not set to an instance of an object.
   at Jellyfin.Plugin.Bookshelf.Providers.BookProviderFromOpf.ReadOpfData(MetadataResult`1 bookResult, String metaFile, CancellationToken cancellationToken)
   at Jellyfin.Plugin.Bookshelf.Providers.BookProviderFromOpf.GetMetadata(ItemInfo info, IDirectoryService directoryService, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RefreshWithProviders(MetadataResult`1 metadata, TIdType id, MetadataRefreshOptions options, List`1 providers, ItemImageProvider imageService, CancellationToken cancellationToken)
telans commented 4 years ago

I don't encounter this, is it still an issue for you?

97carmine commented 4 years ago

Yes, it still happens to me

oddstr13 commented 4 years ago

Same issue as #14 Fixed in #10