Porting WebHooks over to Jellyfin


I am trying to port this over to jellyfin. https://github.com/randomevents/Emby.WebHooks
I got all compiled as it should after changing a few lines although when Jellyfin tries to load the Plugin the error-message is:

[2019-05-18 21:39:11.104 +02:00] [ERR] Error getting exported types from “Emby.Webhooks, Version=, Culture=neutral, PublicKeyToken=null”
System.TypeLoadException: Method ‘RunAsync’ in type ‘Emby.Webhooks.Webhooks’ from assembly ‘Emby.Webhooks, Version=, Culture=neutral, PublicKeyToken=null’ does not have an implementation.
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at Emby.Server.Implementations.ApplicationHost.GetTypes(IEnumerable`1 assemblies)+MoveNext()


Seems like you have some function (RunAsync) declared but not actually implemented. Or maybe the server does not, I’m not sure.


RunAsync is implemented but server seems to not like it.