Closed dyslexicjedi closed 4 years ago
Getting the same with JellyFin 10.6.3
[06:02:13] [ERR] [1] Emby.Server.Implementations.ApplicationHost: Error loading types from Jellyfin.Plugin.YoutubeMetadata, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null.
Also, I used the release version and that's saying 1.0.2.0 instead of 1.0.2.1
@dyslexicjedi do you have any more information you could share? What OS are you on? Using docker? If so where did you get the docker image from? The error makes me think there is something wrong with the install of Jellyfin rather than my plugin but I am not really sure.
@NotExpectedYet Do you have more information same as above, also got more on the logs? Does the error continue to also state it could not load ILocalImageFileProvider?
@ankenyr I'm using the linuxserver.io docker image https://hub.docker.com/r/linuxserver/jellyfin on a ubuntu server 20.04 base system. I have other plugins installed, and working correctly.
@ankenyr For me I'm running on UnRaid with jellyfin/jellyfin:latest
Sadly for some reason, when I've set the error logging level to Debug I'm not longer seeing that error but the plugin isn't loading. I'll have a play later on today and try and get the proper logs for you.
Update:
[08:13:32] [INF] Loaded assembly Jellyfin.Plugin.YoutubeMetadata, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null from /config/plugins/YoutubeMetadata/Jellyfin.Plugin.YoutubeMetadata.dll
[08:13:32] [ERR] Error loading types from Jellyfin.Plugin.YoutubeMetadata, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null.
System.TypeLoadException: Could not load type 'MediaBrowser.Controller.Providers.ILocalImageFileProvider' from assembly 'MediaBrowser.Controller, Version=10.6.3.0, Culture=neutral, PublicKeyToken=null'.
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at Emby.Server.Implementations.ApplicationHost.GetTypes(IEnumerable`1 assemblies)+MoveNext()
[08:13:32] [INF] Loaded assembly Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed from /config/plugins/YoutubeMetadata/Newtonsoft.Json.dll
[08:13:32] [INF] Loaded assembly Google.Apis.Auth, Version=1.45.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab from /config/plugins/YoutubeMetadata/Google.Apis.Auth.dll
[08:13:32] [INF] Loaded assembly Google.Apis.Auth.PlatformServices, Version=1.45.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab from /config/plugins/YoutubeMetadata/Google.Apis.Auth.PlatformServices.dll
[08:13:32] [INF] Loaded assembly Google.Apis.Core, Version=1.45.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab from /config/plugins/YoutubeMetadata/Google.Apis.Core.dll
[08:13:32] [INF] Loaded assembly Google.Apis, Version=1.45.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab from /config/plugins/YoutubeMetadata/Google.Apis.dll```
Additional Information:
I had to nuke my local apps folder on UnRaid so did a complete fresh installation. Still getting the same issue.
Have today off so I planned to take a look at it. Sorry I let it go for so long. Was working on my smart playlist plugin and then wanted a break.
On Thu, Sep 3, 2020, 11:57 PM James Mackay notifications@github.com wrote:
Additional Information:
I had to nuke my local apps folder on UnRaid so did a complete fresh installation. Still getting the same issue.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ankenyr/jellyfin-youtube-metadata-plugin/issues/18#issuecomment-686954721, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALYWLUQHC45NEG4QIDYKPDSECFWXANCNFSM4QLI242Q .
Ok so I cannot reproduce this but I think I uploaded the old dll or maybe I somehow compiled it against the wrong version. Either way I have it loading on 10.6.4. Mind trying once more for me?
[05:52:03] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loaded assembly Jellyfin.Plugin.YoutubeMetadata, Version=1.0.2.1, Culture=neutral, PublicKeyToken=null from /config/plugins/YoutubeMetadata/Jellyfin.Plugin.YoutubeMetadata.dll
Success!!!
Just re-downloaded the release, version numbers correct too. Thanks man!
No worries, sorry that happened. Will be adding this back to my package management json so it can be downloaded easier.
No worries, sorry that happened. Will be adding this back to my package management json so it can be downloaded easier.
It's all good, thanks again for even working on this plugin! Came in handy with all the backing up of channels I've started doing. Will check out the smart playlists one too :)
I'm getting the following error in the log file of jellyfin when I'm trying to install.
[2020-08-26 01:47:07.620 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loaded assembly "Jellyfin.Plugin.YoutubeMetadata, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null" from "/config/data/plugins/YoutubeMetadata/Jellyfin.Plugin.YoutubeMetadata.dll" [2020-08-26 01:47:07.620 +00:00] [ERR] [1] Emby.Server.Implementations.ApplicationHost: Error loading types from "Jellyfin.Plugin.YoutubeMetadata, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null". System.TypeLoadException: Could not load type 'MediaBrowser.Controller.Providers.ILocalImageFileProvider' from assembly 'MediaBrowser.Controller, Version=10.6.3.0, Culture=neutral, PublicKeyToken=null'. at System.Reflection.RuntimeAssembly.GetExportedTypes() at Emby.Server.Implementations.ApplicationHost.GetTypes(IEnumerable
1 assemblies)+MoveNext()`