firecore / InfuseSync

InfuseSync is a plugin for Emby and Jellyfin media servers that tracks all media changes to decrease sync times with Infuse clients.
GNU General Public License v3.0
98 stars 10 forks source link

Incompatible with 10.9.0 #21

Closed jet082 closed 5 months ago

jet082 commented 1 year ago

As it says on the tin. The issue is the following:

[2023-10-12 00:55:41.734 +02:00] [ERR] Failed to load assembly "/var/lib/jellyfin/plugins/InfuseSync_1.4.2.0/InfuseSync.dll". This error occurs when a plugin references an incompatible version of one of the shared libraries. Disabling plugin
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'SQLitePCL.pretty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.Assembly.GetTypes()
   at Emby.Server.Implementations.Plugins.PluginManager.LoadAssemblies()+MoveNext()
System.IO.FileNotFoundException: Could not load file or assembly 'SQLitePCL.pretty, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

I believe this is due to https://github.com/jellyfin/jellyfin/pull/10138 but I could be wrong.

jet082 commented 1 year ago

So, taking the SQLitePCL.pretty dll file from the latest version (10.8.11) here (https://repo.jellyfin.org/releases/server/portable/stable/) and placing it in the same plugin directory as InfuseSync allows it to work again.

Perhaps all that needs happening is bundling this dll when installing via infuse.

volschin commented 5 months ago

Good workaround, but better fix it by using Microsoft.Data.Sqlite as Jellyfin is doing now.

firecore commented 5 months ago

We have just posted a beta version of 1.5.0 which is available to test.

We are still doing some final internal testing but things are looking good.

firecore commented 5 months ago

We've released the 1.5.0 version of InfuseSync which adds support for Jellyfin 10.9.

We're working with the Jellyfin admins to get this new version added to the main Jellyfin plugin catalog, but in the meantime you can install the update by following the steps in this post on our forum.