RED DOT recording state doesn't appear in video fullscreen playing (1 Viewer)

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,596
    10,581
    Königstein (Taunus)
    Home Country
    Germany Germany
    Works fine so far, red button is immediately displayed - BUT The LMH properties aren´t filled until you leave LiveTV :oops:
    Now: What properties to be used for the active recording data (as we do not want to use the LMH properties)?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    BUT The LMH properties aren´t filled until you leave LiveTV
    LiveTV? What LMH properties? What in LMH Debug log? Event for update fired?
    Try add to LiveTV window:
    XML:
    <define>#LatestMediaHandler:Yes</define>

    PS: LMH update properties when recieve MP Message and on MP Start ... And LMH tvrecordings.active, tvrecordings.scheduled when new windows activated ...
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    Strange, in TVHome.cs i found link to g_Player.IsTVRecording, I can return the implementation in the function PLAYER_RECORDING - MediaPortal/MediaPortal-1 :
    C#:
    bReturn = g_Player.IsTVRecording;
    @catavolt Need this? If necessary, add to the same brunch. :)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    Another question: The LMH properties must been derived from somewhere - could you check from which properties those are filled?
    Latest:
    C#:
    IList<TvDatabase.Recording> recordings = TvDatabase.Recording.ListAll();
    Shedulled:
    C#:
    IList<TvDatabase.Schedule> schedules = TvDatabase.Schedule.ListAll();
    Active:
    C#:
    IList<TvDatabase.Recording> recordings = TvDatabase.Recording.ListAllActive();
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,039
    11,112
    Kyiv
    Home Country
    Ukraine Ukraine
    What properties to be used for the active recording data
    I tried to find a place where I could fill in new properties, but I could not find one. Very large plugin. Sorry, but I can hardly help.
    It seems to me that since it already exists in LMH, and it works, that is, the meaning will stop at this plugin.
     

    Users who are viewing this thread

    Top Bottom