lyarenei / jellyfin-plugin-listenbrainz

ListenBrainz plugin for Jellyfin.
MIT License
65 stars 2 forks source link

Malfunctions on Jellyfin 10.8.0-alpha2 #5

Closed rigrig closed 2 years ago

rigrig commented 2 years ago

In Jellyfin 10.8.0-alpha2, the plugin has "Status: Malfunctioned"

Jellyfin Version: 10.8.0-alpha2 Plugin version: 1.2.0.0 Operating System: Linux (docker on Synology NAS) Architecture: X64

What looks like the relevant part of my Docker log:

[10:43:55] [ERR] Error creating Jellyfin.Plugin.Listenbrainz.ServerEntryPoint
System.TypeLoadException: Could not load type 'MediaBrowser.Model.Serialization.IJsonSerializer' from assembly 'MediaBrowser.Model, Version=10.8.0.0, Culture=neutral, PublicKeyToken=null'.
   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|19_0()
   at System.Reflection.RuntimeConstructorInfo.GetParameters()
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Emby.Server.Implementations.ApplicationHost.CreateInstanceSafe(Type type)
lyarenei commented 2 years ago

Thanks for letting me know. Looks like JF 10.8 brought some new incompatibilities with older versions, but nothing too hard to fix. I'll take a look at it when I get some time, probably at the weekend. šŸ™‚

lyarenei commented 2 years ago

The updated plugin can be installed from this repository: https://raw.githubusercontent.com/lyarenei/jellyfin-plugin-listenbrainz/10.8.x-compat/manifest.json

When the stable version comes out, I'll add it to the master repo. Please leave this issue open as a reminder to do so, thanks. šŸ™‚

rigrig commented 2 years ago

Thanks! Confirmed it works again. (and thanks for the repo)