TVServerKodi SQLite
#1
Not sure if this is the right forum to post or not so please feel free to move as needed.

I am trying to get TVServerKodi plugin to work with MP2. I couldn't figure out how to setup mysql with MP2 so I started trying to see if I could get the plugin to work with SQLite. I modified the Gentle.config file as suggested with TVServerKodi.exe and added Gentle.Provider.SQLite to the folder but am still getting errors when trying to run the exe.

I am not sure how to attach the config file and below is the trace that is generated in the command window. Any help is greatly appreciated.

TvServer Debug EXE: 1.10.0.128
Connected to the MediaPortal TVServer running on: 'localhost'
MediaPortal TVServer version: 1.12.0.0
Referenced assemblies:
TvControl version=1.10.0.0
TvDatabase version=1.10.0.0
TvLibrary version=1.10.0.0
SQLiteBig Grinata Source=C:\ProgramData\Team MediaPortal\MP2-Server\Database\MP2TVE_3.
s3db;Pooling=true;FailIfMissing=true;Version=3
Set Gentle framework provider to SQLite
Set Gentle framework provider string to Data Source=C:\ProgramData\Team MediaPor
tal\MP2-Server\Database\MP2TVE_3.s3db;Pooling=true;FailIfMissing=true;Version=3
An exception occurred while connecting to the database. Did you select the right
backend? TVServerKodi default=MySQL; change your Gentle.conf file if you are us
ing MSSQL.
The exception: System.TypeInitializationException: The type initializer for 'Gen
tle.Framework.ProviderFactory' threw an exception. ---> System.Reflection.Target
InvocationException: Exception has been thrown by the target of an invocation. -
--> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of
the requested types. Retrieve the LoaderExceptions property for more informatio
n.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Gentle.Framework.ProviderRegistry.GetProviderInfo(Assembly assembly)
at Gentle.Framework.ProviderRegistry.GetProviderInfo(String assemblyName)
at Gentle.Framework.ProviderRegistry.RegisterProvider(String name, String ass
embly)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments,
Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Objec
t[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke
Attr, Binder binder, Object[] parameters, CultureInfo culture)
at Gentle.Common.MethodInvoker.Invoke(Object target, Object[] parameterValues
)
at Gentle.Common.MethodDispatcher.Invoke(Object target, Hashtable parameters)

at Gentle.Common.CallbackTarget.Configure(Object target, XmlNode node)
at Gentle.Common.CallbackTarget.Configure(Object target, XmlNodeList nodes)
at Gentle.Common.ConfigurationMap.Configure(IList handlers, Object obj)
at Gentle.Common.Configurator.Configure(String configStoreName, Object instan
ce)
at Gentle.Framework.ProviderRegistry..ctor()
at Gentle.Framework.ProviderFactory..cctor()
--- End of inner exception stack trace ---
at Gentle.Framework.ProviderFactory.SetDefaultProvider(String providerName)
at TVServerKodi.Commands.Program.Main(String[] args)
Starting debug version of the TVServerKodi plugin
The type initializer for 'Gentle.Framework.ProviderFactory' threw an exception.
Press Enter to exit.
Reply
#2
Tried the same, also asked Margro.
Very interested in new features of tvserver 3.5 with Kodi
It seems that there are many differences, not only the database, also plugins has changed.
Better ask mm1352000 (Tvserver 3.5 developer) and margro (tvserverkodi plugin).
Bye,
sdf
Reply



Logout Mark Read Team Forum Stats Members Help
TVServerKodi SQLite0
This forum uses Lukasz Tkacz MyBB addons.