Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Asp.Net Core Web Api #26

Merged
merged 2 commits into from
Nov 27, 2020
Merged

Migrate to Asp.Net Core Web Api #26

merged 2 commits into from
Nov 27, 2020

Conversation

daullmer
Copy link
Member

@daullmer daullmer commented Aug 11, 2020

Migrate the ServiceStack infrastructure to Asp.Net Core Web Api. The endpoint works but SortOrder moved from MediaBrowser.Model.Entities to Jellyfin.Data.Enums so the scan fails with the following exception.

[18:26:21] [ERR] [16] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL POST /TMDbBoxSets/Refresh.
System.TypeLoadException: Could not load type 'MediaBrowser.Model.Entities.SortOrder' from assembly 'MediaBrowser.Model, Version=10.7.0.0, Culture=neutral, PublicKeyToken=null'.
   at Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager.GetMoviesFromLibrary()
   at Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager.ScanLibrary(IProgress`1 progress)
   at Jellyfin.Plugin.TMDbBoxSets.Api.TMDbCollectionsController.RefreshMetadataRequest()
   at lambda_method(Closure , Object , Object[] )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller,
Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()

Needs jellyfin/jellyfin#3871

@oddstr13 oddstr13 merged commit 225fc64 into jellyfin:master Nov 27, 2020
@daullmer daullmer deleted the api-migration branch December 18, 2020 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants