MP1-2559-Solve_inconsistent_TVService_detection_from_TVServer_in_TVHome (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Description of Change
    This change is to be able to properly handle connection/disconnection when TVService died / Server Off etc.

    The MP build provided is based on MP 1.4

    Tickets : https://issues.team-mediaportal.com/browse/MP1-2559

    The source code can be found in the branch MP1-2559-Solve_inconsistent_TVService_detection_from_TVServer_in_TVHome on github.

    Steps to install and test
    Installation
    Download the Installer and execute it.
    If you already have MP 1.4 installed, you need to start installer from : %Temp%\MediaPortal Installation\deploy
    If you use binaries :

    For Client Side (Multiseat)
    Copy tvcontrol.dll to C:\Program Files (x86)\Team MediaPortal\MediaPortal
    Copy tvplugin.dll to C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\Windows

    On server side : (Multiseat)
    Copy tvcontrol.dll to C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server

    If you are on singleseat copy files for both 'MediaPortal' and 'MediaPortal TV Server'

    Testing
    If you stop you TVServer, Client should receive only one notification that connection is lost (and not multiple time)
    Connection lost message has a tiemout of 5 secs now.
    WOL should wake up your Server.
    GUI shouldn't freeze or less than current 1.4.0 Final
    Please do not forget to give some feedback (also if there is no bug). Thank you!

    Sebastiii

    Changelog

    Version 1.4.0 v12
    Build Based on MP 1.4

    Version 1.4.0 v13
    Build Based on MP 1.4 (Try fix TV ON/Fullscreen after resume)

    Version 1.4.0 v14
    Build Based on MP 1.4 :
    WIP Resume after Standby/Suspend on TV Client.
    Avoid multiple Suspend/Resume call.
    Start TV only if connected to TVService.

    Version 1.4.0 v15
    Build Based on MP 1.4 :
    Change how Resume after Standby/Suspend on TV Client. in non thread code.

    Version 1.4.0 v16
    Build Based on MP 1.4 :
    Revert latest Change, it will be added in a new branch.
    Back to this one : the connect/disconnection is handled correctly. So we stay for it right now.
     

    Attachments

    • TvControl_TvPlugin_v12.zip
      200.1 KB
    • TvControl_TvPlugin_v13.zip
      200.1 KB
    • TvControl_TvPlugin_v14.zip
      696.3 KB
    • TvControl_TvPlugin_v15.zip
      705.5 KB
    • TvControl_TvPlugin_v16.zip
      200.2 KB
    Last edited:

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    Home Country
    United Kingdom United Kingdom
    Ok so I have already copied from a previous post version 11. The server is single seat and I have two clients.

    So it's best to do the update to version 12 by running the installer? Sorry for questions just want to make sure I do it right.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #5
    Thanks :)

    Yep better to use bin or installer to get v12 :) both should do the same (installer will properly update all needed files) and bin it's manual mode :)
     

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    Home Country
    United Kingdom United Kingdom
    Thank you ever so much v11 solved it so what's the changelog between that and v12?

    Will the installer know if its client or tv server or single seat or does it just do them all?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #7
    For the installer, you have to start it and close and then go to %temp%.... folder.
    Then execute both .exe, it will install with with current setup (if singleseat, it will install singleseat) :)

    The diff between v11 and v12, it solve double notification (when you start or stop a record) from TVHome (not fullscreen), here you can see the same notification twice (if you enable that option in MP Config : Recording Notification).

    The disconnect log in MediaPortal.log is less intrusive and i think i correct one GUI freeze more.

    So v12 should be better (i hope).
     

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    Home Country
    United Kingdom United Kingdom
    The disconnect log in MediaPortal.log is less intrusive and i think i correct one GUI freeze more.

    So v12 should be better (i hope).

    Well I did v11 earlier and got home from work now and the tv server was running in the lounge as recording something but the kitchen client I turned on from S3 and it was just a black screen. CNTRL ALT & Delete shows as MP full screen not responding. So doesn't seem like the issue is always related to the server not waking?
     

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    Home Country
    United Kingdom United Kingdom
    Installed v12 so will report back after some testing.
     

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    Home Country
    United Kingdom United Kingdom
    Just to report my bedroom client this morning resumed and woke the server up but mp was frozen for a good 3 minutes before it would work. So still the issue of it freezing.
     

    Users who are viewing this thread

    Top Bottom