OSD incorrect time elapsed and remaining on render (1 Viewer)

mattjcurry

Retired Team Member
  • Premium Supporter
  • October 24, 2011
    261
    207
    43
    Using the master branch of MP from git.

    Steps to Reproduce
    1.) open mediaportal
    2.) go to tv
    3.) go to recorded tv
    4.) got to folder/show
    5.) select video file to play
    6.) hit pause immediately

    You will notice that the times populated on the OSD come from the TV home screen and that they are the times that show up when it shows you the preview of what is on.

    After about 30 seconds, the OSD resets to the correct values. You may also press a button and the osd to show the right information.

    My best guess is that at the original setting of the percentages and duration, g_player does not have the correct values, or #TV.View.Start and #Tv.View.End are getting set on the home screen and then not getting changed when entering the recording.

    You can see in mytvhomeserver.xml that the default skin is using those params...
    Code:
        <control>
          <description>Current program title</description>
          <type>fadelabel</type>
          <id>131</id>
          <posX>289</posX>
          <posY>424</posY>
          <width>349</width>
          <label>#TV.View.start - #TV.View.stop  #TV.View.title</label>
          <font>font13</font>
          <align>left</align>
          <textcolor>FFB2D4F5</textcolor>
        </control>

    I think that when ShowFullScreenWindowTvHandler is called on the TVHome class that TV.View.Start and TV.View.Stop should be reset to the values contained in g_player.
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: OSD incorrect time elapsed and remaining on render

    Screenshot?
    I think I have a similar problem with recordings. Maybe I can post a screenshot on Monday..
     

    Users who are viewing this thread

    Top Bottom