jellyfin / jellyfin-plugin-playbackreporting

Playback Statistics Plugin for Jellyfin

Home Page:https://jellyfin.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jellyfin not able to run plugin

mynamewastaken opened this issue · comments

I'm running Jellyfin 10.6.4 in docker on x86-64. Centos 8.x (if that matters).

I pulled down a copy of mcr.microsoft.com/dotnet/sdk:5.0 and compiled the latest version of the plugin with the command from the readme: dotnet publish --configuration Release --output bin.
I placed it in the jellyfin config/plugins/PlaybackReporting directory. Error message below:

Dec 30 19:26:39 hostname docker-compose[1046006]: jellyfin_1  | [01:26:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loaded assembly Jellyfin.Plugin.PlaybackReporting, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/PlaybackReporting/Jellyfin.Plugin.PlaybackReporting.dll
Dec 30 19:26:39 hostname docker-compose[1046006]: jellyfin_1  | [01:26:39] [ERR] [1] Emby.Server.Implementations.ApplicationHost: Error getting exported types from Jellyfin.Plugin.PlaybackReporting, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null
Dec 30 19:26:39 hostname docker-compose[1046006]: jellyfin_1  | System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Dec 30 19:26:39 hostname docker-compose[1046006]: jellyfin_1  |
Dec 30 19:26:39 hostname docker-compose[1046006]: jellyfin_1  | File name: 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Dec 30 19:26:39 hostname docker-compose[1046006]: jellyfin_1  |    at System.Reflection.RuntimeAssembly.GetExportedTypes()
Dec 30 19:26:39 hostname docker-compose[1046006]: jellyfin_1  |    at Emby.Server.Implementations.ApplicationHost.GetTypes(IEnumerable`1 assemblies)+MoveNext()

Thanks,
Tim

Master is for 10.7, and is incompatible with 10.6.4.

@crobibero Looks like 10.7 is in pre-release -- I'll wait for it to stabilize before I try this again. Thanks!