1.38 MP Stops Accepting User Input (3 Viewers)

MediaPortal Release 1.38

AberDino

MP Donator
  • Premium Supporter
  • February 17, 2005
    288
    66
    Kincardineshire
    Home Country
    Scotland Scotland
    Every so often, when I switch to a TV channel, my MP client stops accepting user inputs, either from the remote or keyboard/mouse. The channel keeps playing fine and when I bring up task manager MP is not reported as 'not responding', i.e. from an operating system perspective the program is not 'stuck'. I then have to end MP through task manager and restart it.

    I haven't been able to establish a pattern yet and I appreciate there are many variables at play, but hopefully the attached log files might reveal something. There is an error in the log pointing to madVR:
    [Error ] [madVR - RenderOverlay] [ERROR] - render exception:confused:ystem.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Note that I copied these log files after bringing up task manager and before ending MP, i.e. MP was running in the background and not accepting my inputs.

    Any feedback greatly appreciated and as always I'm happy to assist / test as required.
     

    Attachments

    • log.zip
      52.9 KB

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,768
    1,234
    Alingsås
    Home Country
    Sweden Sweden
    Sounds to me like MePo's focus has been lost. I made a small autohotkey script that re-focuses MePo when I press Volume Up on my MCE remote. This issue comes and goes on my HTPC, I haven't found the culprit. Do you have MediaPortal set up as "always on top"? If you do an ALT+TAB on a keyboard when this happens, do you regain control of MePo?
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    3,272
    2,137
    Southampton
    Home Country
    United Kingdom United Kingdom
    There is an error in the log pointing to madVR:
    I am not an expert at reading log files, but I noticed these lines at the point where the error is diagnosed:

    Code:
    [2025-10-09 21:43:01,520] [Log    ] [MPMain   ] [DEBUG] - WindowManager: route TvPlugin.TvFullScreen:602->MediaPortal.Dialogs.GUIDialogMenu:2012
    [2025-10-09 21:43:01,521] [Log    ] [MPMain   ] [DEBUG] - DialogWindow: MediaPortal.Dialogs.GUIDialogMenu init
    [2025-10-09 21:43:05,605] [Log    ] [MPMain   ] [DEBUG] - WindowManager: unroute to MediaPortal.Dialogs.GUIDialogMenu:2012->TvPlugin.TvFullScreen:602
    [2025-10-09 21:43:05,605] [Error  ] [madVR - RenderOverlay] [ERROR] - render exception:System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

    Perhaps I am misreading this, but:
    • Panel id 602 is what I call the "Pause OSD", although it is also displayed for fast-forward, fast backward, jump forward, and jump backward.
    • Panel id 2012 is a menu pop-up that is used for multiple different menus, and it is not possible to see from the log which particular menu was being displayed.
    The log suggests that you displayed the pause OSD, then caused a menu pop-up to appear, spent around 4
    seconds on that menu, and then returned to the pause OSD, at which point the MadVR error occurred.

    Is this what you did? What menu was displayed?

    -- from CyberSimian in the UK
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,768
    1,234
    Alingsås
    Home Country
    Sweden Sweden
    It might help others if you could post your AutoHotKey script for anyone who has a similar problem.

    -- from CyberSimian in the UK
    Sure:

    Code:
    Volume_Up::
      {  
            Send {Alt Down}{Tab} ;Bring up switcher immediately          
            KeyWait, F1, T.5  ; Go to next window; wait .5s before looping
            if (Errorlevel)
           {      
            While ( GetKeyState( "F1","P" ) ) {
                Send {Tab}      
                Sleep, 400 ; wait 400ms before going to next window
            }
        }
            Send {Alt Up} ;Close switcher on hotkey release
    }
    return

    Just change the first line "Volume_Up" to which ever key on your remote you want to use for this, it basically does an alt+tab which shifts focus to MePo, unless there's other windows active.
     

    AberDino

    MP Donator
  • Premium Supporter
  • February 17, 2005
    288
    66
    Kincardineshire
    Home Country
    Scotland Scotland
    Is this what you did?
    Hi @CyberSimian, it would have been either of these two options:
    1. Watch channel (no pause), press 'OK' on the MCE remote which brings up the 'mini' guide on top of the video stream, up/down to select the new channel, and press 'OK' again to switch to that channel.
    2. Watch channel (no pause), press 'back' on the MCE remote to go back to the 'full' guide with the video stream in a windowed box above the guide, up/down to select the new channel / program, and press 'OK' to switch to that channel.
    Does that make sense in relation to the Panel IDs you are seeing?
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    3,272
    2,137
    Southampton
    Home Country
    United Kingdom United Kingdom
    it would have been either of these two options ...
    Thank you for posting the details of your actions. (y)

    I had forgotten how MP uses its windows, and what I said previously was not quite right :eek: . Panel id 602 ("MyTvFullScreen.xml") is in fact live TV, but with the pause OSD suppressed. If you press the PAUSE button (or FAST_FOWARD/BACKWARD, or JUMP_FORWARD/BACKWARD), the pause OSD is enabled and appears on screen.

    I have been trying your sequence of actions on my system, but the log file is not consistent in showing WindowManager transitions:
    • The log does show going from live TV (id 602) to the mini guide (id 3009) and then returning to live TV.
    • The log does not show going from the full-screen TV guide (id 600) to live TV (id 602) and then returning to the TV guide.
    Your log does not show panel id 3009, so I think that you were not using the mini guide when the error occurred.

    As I said previously, I am not an expert in reading MP log files, and the inconsistent logging from the different parts of MP does not help in understanding what is happening. :(

    I have no experience of MadVr, but I think that @joecrow uses it. He has not been around recently, but it would be interesting to hear if he has encountered the same problem.

    -- from CyberSimian in the UK
     

    Users who are viewing this thread

    Top Bottom