jellyfin-archive/jellyfin-plugin-autoorganize

Config page crashes on 10.4

thornbill opened this issue · 7 comments

The following error is thrown when loading the AutoOrganize config page on 10.4.0.

jellyfin_1       | [14:54:38] [ERR] Error processing request
jellyfin_1       | System.MissingMethodException: Method not found: '!0[] MediaBrowser.Model.Querying.QueryResult`1.get_Items()'.
jellyfin_1       |    at Emby.AutoOrganize.Core.FileOrganizationService.GetResults(FileOrganizationResultQuery query)
jellyfin_1       |    at Emby.AutoOrganize.Api.FileOrganizationService.Get(GetFileOrganizationActivity request)
jellyfin_1       |    at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName)
jellyfin_1       |    at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost httpHost, Object requestDto, IRequest req)
jellyfin_1       |    at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IRequest httpReq, HttpResponse httpRes, ILogger logger, CancellationToken cancellationToken)
jellyfin_1       |    at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)

Same issue here.
Helios4 with armbian (10 Buster)

[2019-10-28 16:43:50.644 +01:00] [ERR] Error processing request
System.MissingMethodException: Method not found: '!0[] MediaBrowser.Model.Querying.QueryResult`1.get_Items()'.
   at Emby.AutoOrganize.Core.FileOrganizationService.GetResults(FileOrganizationResultQuery query)
   at Emby.AutoOrganize.Api.FileOrganizationService.Get(GetFileOrganizationActivity request)
   at lambda_method(Closure , Object , Object )
   at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName)
   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost httpHost, Object requestDto, IRequest req)
   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IRequest httpReq, HttpResponse httpRes, ILogger logger, CancellationToken cancellationToken)
   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)

I get the same message as ptimatth. I'm also on a Helios4 but running Debian 9 & using Jellyfin via docker. For some more specificity, it's when I'm going to the "Activity Log" tab. I have not yet actually had anything added by AutoOrganize yet, so this may be caused by mishandling an empty log.

The same problem with docker in Raspberry pi when I'm going to the "Activity Log of the pluging. I have not too yet actually had anything added.

It looks like the issue is related to outdated dependencies in the project. I have opened PR #17 to address this, which I have tested locally and fixes the issue.

This should be a pretty critical merge, I don't think this plugin will be working for anyone on the latest Jellyfin version until this update goes out.

Release v5 is out now, this should be resolved with that update.

Argh it didn’t build. I’ll have to see what’s up with it.

Built now. Try it out.