Plugin: MP2Extended (1 Viewer)

FreakyJ

Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    This is the wrong log file. This is the SetupTv log file. I would like to get the Log Server.log (from MP2).
    The MP1 TvServer needs to be stopped. And you have to use the SetupTv inside the SlimTv.service3 folder.
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    Not more time now, I will dig up the Artwork numbers later, it's different for different media types.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I'm currently playing with subtitles, just so you know... :whistle:
    Great! (y)

    I have seen 1 or 2 times that ffprobe throws an access permission error in the FFProbeExecuteWithResourceAccessAsync function, but I never found out how to reproduce it. That was with the old version of the FFMpegLib though.

    Never had this, but I always only use small test DBs, maybe I should import my whole collection and see what happens, hmmm
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Not more time now, I will dig up the Artwork numbers later, it's different for different media types.
    No problem ;)
    Just keep the folowwing in mind:
    - MP1 TvServer needs to be stopped before starting the MP2 Server
    - You must use the SetupTv inside the SlimTv.service3/SetupTv (or similar) folder

    If it doesn't work, post the Server.log from MP2. It will probably give some clues. otherwise it is really hard to tell :)
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    This was really helpful!!
    The problem is this:
    [2015-10-21 20:38:09,530] [337 ] [Main ] [ERROR] - Error loading plugin in directory 'C:\Program Files (x86)\Team MediaPortal\MP2-Server\Plugins\SlimTv.Service'
    System.ArgumentException: Directory 'C:\Program Files (x86)\Team MediaPortal\MP2-Server\Plugins\SlimTv.Service' doesn't contain a valid plugin descriptor file
    at MediaPortal.Common.Services.PluginManager.PluginDirectoryDescriptor..ctor(String pluginDirectoryPath)
    at MediaPortal.Common.Services.PluginManager.PluginManager.LoadPluginsData()

    So the server can't startup, I have to investigate this, can't see anything wrong with the plugin.xml on the first glance.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Ohh, actually I was wrong!
    you can delete the folder "SlimTv.Service" to get rid of the error. It is the old version of the Plugin.

    The error is this:
    [2015-10-21 20:38:10,896] [1703 ] [5 ] [ERROR] -
    System.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
    at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
    at System.Net.Sockets.Socket.Bind(EndPoint localEP)
    at System.Net.Sockets.TcpListener.Start(Int32 backlog)
    at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)
    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)
    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCallback)
    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
    at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
    at System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(ChannelEntry entry)
    at System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData configData, Boolean ensureSecurity)
    at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)'.
    at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)
    at System.Runtime.Remoting.RemotingConfigHandler.DoConfiguration(String filename, Boolean ensureSecurity)
    at System.Runtime.Remoting.RemotingConfiguration.Configure(String filename, Boolean ensureSecurity)
    at TvService.TvServiceThread..ctor(String applicationPath)

    "Only one usage of each socket address (protocol/network address/port) is normally permitted" i sthe key I think. Something is blocking the port. Are you sure that you stopped the TvService before starting the MP2 Server?

    Go to Services and stop "TvService" and than restart "Mediaportal 2 Server Service"
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    MP2 server is running anyway and now the mediainfo icons all looks good apart from the missing subs.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    MP2 server is running anyway and now the mediainfo icons all looks good apart from the missing subs.
    Check the output of the URL above :) I would like to compare.

    Edit:
    GetMediaInfo?type=0&provider=3&itemId=2a7f1305-73c0-405a-8a03-f45fd6f97360
     

    Users who are viewing this thread

    Top Bottom