Follow up on Mantis 1183: TV Server kick comp to hib after long time "editing" in TV (1 Viewer)

MPUserFromGER

MP Donator
  • Premium Supporter
  • July 31, 2006
    403
    3
    Germany
    Home Country
    Germany Germany
    TV-Server Version: 1.0 RC4
    MediaPortal Version: 1.0 RC4
    MediaPortal Skin: Blue3Wide
    Windows Version: Windows Vista Ultimate 32bit with SP1
    CPU Type: AMD Athlon X2 BE-2350 (AM2)
    HDD: Samsung 750GB + HAMA SSD 4GB (timeshifting)
    Memory: 2GB DDR2
    Motherboard: Gigabyte GA-MA78G-DS3H
    Video Card: OnBoard ATI Radeon HD3200
    Video Card Driver: Catalyst V8.12
    Sound Card: Realtek (On-Board)
    Sound Card AC3: AC3 / optical SPDIF out
    Sound Card Driver:
    1. TV Card: Technotrend S2-3200
    1. TV Card Type: DVB-S and DVB-S2
    1. TV Card Driver: 5.0.0.19
    2. TV Card:
    2. TV Card Type:
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: Cyberlink PowerDVD 8 codecs
    MPEG2 Audio Codec: ffdshow audio codec
    h.264 Video Codec: Cyberlink PowerDVD 8 codec
    Satelite/CableTV Provider: Astra 19.2 E
    HTPC Case: Ahanix MCE 601
    Cooling: power supply fan, CPU boxed cooler, 2 housing fans (all controlled by SpeedFan)
    Power Supply: Ahanix
    Remote: Logitech Harmony 555
    TV: Samsung LCD 32"
    TV - HTPC Connection: HDMI

    Mantis 1183 "TV Server kick comp to hib after long time "editing" in TV Setup", which was solved in RC2, is reoccuring or does not cover this use case.

    Preconditions:
    - Singleseat setup
    - In TV Server Configuration -> Plugins -> Power Scheduler --> General set "Shutdown server after being idle" to "5 minutes"
    - In TV Server Configuration -> Plugins -> Power Scheduler --> General set "Shutdown mode" to "Suspend"
    - In TV Server Configuration -> Plugins -> Power Scheduler --> Processes set the test field to "Setup TV, Configuration, firefox"

    Use case (steps to reproduce):
    1. Have MediaPortal and TV Server up and running
    2. Close Mediaportal
    3. Open Firefox in order to prevent Power Scheduler from suspending the PC
    4. Do whatever you want in windows for at least 5 minutes
    5. Close Firefox, wait 10 seconds and then try to start MediaPortal again
    --> PC will suspend before MediaPortal is fully up and running.

    From the logs "tvserver_tv.log":
    Code:
    2008-12-13 16:57:23.247086 [Powerscheduler Timer]: PowerScheduler: System changed from busy state to idle state
    2008-12-13 16:57:23.256086 [Powerscheduler Timer]: PowerScheduler: System is unattended and idle - initiate suspend/hibernate
    2008-12-13 16:57:23.258086 [Powerscheduler Timer]: PowerScheduler: Manual system suspend requested by 
    2008-12-13 16:57:23.262086 [Powerscheduler Timer]: PowerScheduler: Entering shutdown Suspend ; forced: False -- kick off shutdown thread

    That means as soon as "firefox" is closed, the tv server suspends windows instead of waiting the specified idle time. :confused:
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Windows Version: Windows Vista Ultimate 32bit with SP1

    This only applies to Vista, xp works correctly, no one has found the way of handling the power delay to be carried over to any other open programs using Vista, and believe me we have had a 3-4 developers looking into this and not one of them has found the conclusive answer :(

    Many a time I find standby initiates when i switching from one program to another, so I know how irritating it can be.
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    To get this to work TVServer -> PSClient needs a timer which gets reset & starts all over by last detected activity on program x. Not sure how much programming it is(Bavarian could ;) ) but could lead to many, many new bugs & since we are in a feuture freeze i don't think this will be in now.

    Regards
    Roy
     

    Users who are viewing this thread

    Top Bottom