Plugin: MP2Extended (1 Viewer)

johanj

MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    I had some time to debug...

    Before combining the streaming url I retrieve mediainfo:
    http://admin:admin@192.168.1.87:432...3&itemId=2a7f1305-73c0-405a-8a03-f45fd6f97360
    This produce empty arrays for audio and subs so it's kind of hard to select the first audio/sub when combining the stream url. That's why it's left out. I still thinks it's good if you produce a streaming url even though the sub/audio parameters are left out for some reason.
    Object {Duration: 7824, Container: "", VideoStreams: Array[1], AudioStreams: Array[0], SubtitleStreams: Array[0]}

    Now some of the mediainfo icons show in the gui for movies but not all since e.g subtitle streams are missing.

    The fanart url that give wrong aspect ratio:
    http://admin:admin@192.168.1.87:432...h=2414&maxHeight=1356&borders=stretch&res=@2x
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Before combining the streaming url I retrieve mediainfo:
    http://admin:admin@192.168.1.87:432...3&itemId=2a7f1305-73c0-405a-8a03-f45fd6f97360
    This produce empty arrays for audio and subs so it's kind of hard to select the first audio/sub when combining the stream url. That's why it's left out. I still thinks it's good if you produce a streaming url even though the sub/audio parameters are left out for some reason.
    Object {Duration: 7824, Container: "", VideoStreams: Array[1], AudioStreams: Array[0], SubtitleStreams: Array[0]}
    This is because the MediaAspects of the TranscodingService are empty (I checked the DB I've got from you). Didn't you write that your import failed somehow? There is something fishy. I would suggest a reimport.

    But I will make these changes ;)

    Now some of the mediainfo icons show in the gui for movies but not all since e.g subtitle streams are missing.
    same reason as above :)

    The fanart url that give wrong aspect ratio:
    Yesterday I browsed through fanart.tv. The mapping was wrong again between the MPExtended Types and the MP2 Types. While I was doing the mapping I was guessing what is what. Wasn't that great :D
    But should be fixed locally. I think I will upload a new version now.

    Most of the new features are TAS additions.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    @johanj
    Could you tell me what you expect from the "Artwork" property available in the various return values like WebMediaItem?
    I want to get rid of some ToDo's and get things more right :)

    @pünktchen
    I've implemented most of your requested functions, only 4 or so missing, but these take some more time :)
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    Thanks for checkig. Not sure if import gave issues, will reimport then.

    I'm actually trying to install MP2 incuding TV server on my production HTPC(wife is away for a moment and everything need to work with MP1 when she is back:whistle:) But I get socket exception when opening MP2 tv server settings. Something about target machine actively refused it and then ip and port 31456. Do i need to add tv plugins apart from the installer in first post?
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    But I get socket exception when opening MP2 tv server settings. Something about target machine actively refused it and then ip and port 31456.
    This means TVE is not running. Probbaly you have both versions inside the Plugin folder. Delete TVE3 or TVE3.5

    For more details, logs please ;)
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    In MP2Server plugins I have
    SlimTv.service3 and SlimTv.service. Should I remove one of these?
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    For get GetArtworkResized and so on, what is offset doing? Is it to get a different Artwork item if there are multiple available?
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    SlimTv.service3 and SlimTv.service. Should I remove one of these?
    No, do you have "SlimTv.Service35"? If yes, remove "SlimTv.Service35". Please upload the Server.log if you would like to get a more decent answer :)
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    offset is almost always 0. But yes, it's a way to get different artwork if several exist.[DOUBLEPOST=1445454648][/DOUBLEPOST]As I said, I only have the SlimTv.service3 and SlimTv.service

    Not much in log:
    [2015-10-21 20:52:51,433] [48 ] [SetupTv ] [INFO ] - ---- SetupTv v1.12.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
    [2015-10-21 20:52:51,443] [58 ] [SetupTv ] [INFO ] - ---- check connection with database ----
    [2015-10-21 20:52:51,475] [90 ] [SetupTv ] [INFO ] - ---- check if database needs to be updated/created ----
    [2015-10-21 20:52:51,533] [148 ] [SetupTv ] [INFO ] - ---- upgrade database schema ----
    [2015-10-21 20:52:51,533] [148 ] [SetupTv ] [INFO ] - ---- check if tvservice is running ----
    [2015-10-21 20:52:51,566] [181 ] [SetupTv ] [DEBUG] - RemoteControl: RegisterChannel first called in Domain SetupTV.exe for thread SetupTv with id 1
    [2015-10-21 20:52:55,570] [4185 ] [SetupTv ] [INFO ] - ---- restart tvservice----
    [2015-10-21 20:52:59,574] [8189 ] [SetupTv ] [INFO ] - ---- Unable to restart tv service----
    [2015-10-21 20:52:59,575] [8190 ] [SetupTv ] [ERROR] -
    System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 192.168.1.31:31456

    Server stack trace:
    at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)
    at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family)
    at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
    at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
    at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
    at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
    at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
    at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at TvControl.IController.get_Cards()
    at SetupTv.Startup.Main(String[] arguments)
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    But I will make these changes
    I'm currently playing with subtitles, just so you know... :whistle:

    There is something fishy
    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.
     

    Users who are viewing this thread

    Top Bottom