[solved] - Latests Media Handler - Skinning an updating window or control

Discussion in 'Fanart Handler' started by Rob Hexenmeister, February 6, 2019.

  1. Rob Hexenmeister
    • Premium Supporter

    Rob Hexenmeister MP Donator

    Joined:
    May 12, 2011
    Messages:
    95
    Likes Received:
    12
    Gender:
    Male
    Location:
    Slaithwaite
    Ratings:
    +19 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Good evening :)

    Can anybody think of a way of making a window reload/refresh or a skin control reload/update after a TV server stop/start event occurs?

    On my Basic Home window (35) I have labels which show upcoming recordings and active recordings using Latest Media Handler properties, but of course these don't update. Once they are rendered, that is that.

    <label>#latestMediaHandler.tvrecordings.scheduled1.title</label>

    and so forth...



    Many thanks for any assistance. (y)
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,475
    Likes Received:
    2,566
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,494 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    LMH Updates its properties as needed when it receives any messages from Mediaportal. For example, the end of the movie playback. Or the beginning or end of the recording of a TV program.
    To monitor, you need to watch the log file in debug mode.
     
    • Like Like x 1
  4. Rob Hexenmeister
    • Premium Supporter

    Rob Hexenmeister MP Donator

    Joined:
    May 12, 2011
    Messages:
    95
    Likes Received:
    12
    Gender:
    Male
    Location:
    Slaithwaite
    Ratings:
    +19 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Very interesting, thank you. But I am not sure that this answer resolves the problem of wanting to update the skin controls on Basic Home upon a change to LMH. Once rendered the skin controls don't seem to change.
     
  5. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,475
    Likes Received:
    2,566
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,494 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    it means there is no update event, because the properties update happens all the time.

    --
    WBR, ajs :):whistle::coffee:
     
  6. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,475
    Likes Received:
    2,566
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,494 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Try this LMH dll ...
     

    Attached Files:

    • Like Like x 1
  7. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,129
    Likes Received:
    4,895
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,257 / 38
    Home Country:
    Germany Germany
    Show System Specs
    They don´t change if you stay in BasicHome and wait for a change ;)
    They are actualized every time you enter BasicHome ;)
     
  8. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,475
    Likes Received:
    2,566
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,494 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    I add forced update of LMH sheduled properties upon receipt of a notification from the TV client.
     
    • Like Like x 2
    • Thank You! Thank You! x 1
  9. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,129
    Likes Received:
    4,895
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,257 / 38
    Home Country:
    Germany Germany
    Show System Specs
    Will try your dll from above ;) THX Andrew (y)
     
    • Thank You! Thank You! x 1
  10. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,129
    Likes Received:
    4,895
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,257 / 38
    Home Country:
    Germany Germany
    Show System Specs
    Well, works fine so far (y)
     
    • Like Like x 1
  11. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,475
    Likes Received:
    2,566
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,494 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    LMH MPE1 - Updated, Available through the extension manager.
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!