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

Error during installation #18

Closed
dyslexicjedi opened this issue Aug 26, 2020 · 10 comments
Closed

Error during installation #18

dyslexicjedi opened this issue Aug 26, 2020 · 10 comments

Comments

@dyslexicjedi
Copy link

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(IEnumerable1 assemblies)+MoveNext()`

@NotExpectedYet
Copy link

NotExpectedYet commented Aug 26, 2020

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

@ankenyr
Copy link
Owner

ankenyr commented Aug 26, 2020

@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?

@dyslexicjedi
Copy link
Author

@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.

@NotExpectedYet
Copy link

NotExpectedYet commented Aug 27, 2020

@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```

@NotExpectedYet
Copy link

Additional Information:

I had to nuke my local apps folder on UnRaid so did a complete fresh installation. Still getting the same issue.

@ankenyr
Copy link
Owner

ankenyr commented Sep 4, 2020 via email

@ankenyr
Copy link
Owner

ankenyr commented Sep 4, 2020

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?

@NotExpectedYet
Copy link

[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!

image

@ankenyr
Copy link
Owner

ankenyr commented Sep 5, 2020

No worries, sorry that happened. Will be adding this back to my package management json so it can be downloaded easier.

@ankenyr ankenyr closed this as completed Sep 5, 2020
@NotExpectedYet
Copy link

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 :)

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

No branches or pull requests

3 participants