MediaPortal doesn´t restart when resuming from Standby

Discussion in '1.0 final and SVN Builds' started by Ragendorf, December 26, 2008.

  1. Ragendorf

    Ragendorf Portal Pro

    Joined:
    March 24, 2008
    Messages:
    531
    Likes Received:
    21
    Occupation:
    Starverkäufer
    Location:
    Braunschweig
    Ratings:
    +22 / 0
    Home Country:
    Germany Germany
    TV-Server Version:
    MediaPortal Version: MediaPortal 1.0
    MediaPortal Skin: Blue 3 Wide
    Windows Version: Windows Vista Home Premium SP1
    CPU Type: AMD Athlon 64 X2 4850e
    HDD: Samsung 500 GB Spinpoint F1
    Memory: 2 GB OCZ DDR2-800
    Motherboard: GA-MA78GM-S2H
    Video Card: Radeon HD3200 (onboard)
    Video Card Driver: Catalyst 8.12
    Sound Card: OnBoard Sound Realtek® ALC888
    Sound Card AC3:
    Sound Card Driver: 2.09
    1. TV Card: Hauppauge WinTV Nova 2 SE
    1. TV Card Type: DVB-S
    1. TV Card Driver: 88x.2.122.26109 WHQL
    2. TV Card: Terratec Cinergy S PCI
    2. TV Card Type: DVB-S
    2. TV Card Driver: 1.0.2.9
    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: MPV (MP-default)
    MPEG2 Audio Codec: MPA (MP-default)
    h.264 Video Codec: Power DVD 7 Stand 07.11.2008
    Satelite/CableTV Provider: Astra 19,2 Ost
    HTPC Case: GMC Toast
    Cooling: AMD Boxed
    Power Supply: BeQuiet! 350W Straight Power
    Remote: Microsoft MCE Remote 2002
    TV: Panasonic 106cm Plasma TH-42PV7F/S
    TV - HTPC Connection: HDMI

    Hello Guys,

    how i wrote in Title, MediaPortal doesn´t restart correctly when it cames from Standby.



    There is an Issue in the restart.vbs-Script, it´s reported in this https://forum.team-mediaportal.com/media-portal-support-170/restart-vbs-wird-nicht-gefunden-48010/ Thread.

    Luetty edited the old restart.vbs so it works fine (was not my work, i only want to get your Attention for that).

    Best regards.

    --Jens--
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ronilse
    • Team MediaPortal

    ronilse Retired Team Member

    Joined:
    July 19, 2005
    Messages:
    4,422
    Likes Received:
    280
    Gender:
    Male
    Occupation:
    MediaPortal tester
    Location:
    Moss
    Ratings:
    +280 / 0
    Home Country:
    Norway Norway
    Show System Specs
    Hi,
    This it's a English forum so when linking translate the page so it's understandable ;)
    Also attach logs, fixes etc to your post reported here if not, it shouldn't be......

    Regards
    Roy
     
  4. Ragendorf

    Ragendorf Portal Pro

    Joined:
    March 24, 2008
    Messages:
    531
    Likes Received:
    21
    Occupation:
    Starverkäufer
    Location:
    Braunschweig
    Ratings:
    +22 / 0
    Home Country:
    Germany Germany
    Hey Roy,

    everything important is in my Post, the Thread i linked is only additional.

    But to make it understandable: If you want that MediaPortal restart when resuming from Standby, you have to tick in in the General-Section.
    But since MP 1.0 (for me) it doesn´t work (under Vista).

    Luetty found a Bug in the restart.vbs-Script and fixed it. He changed from tskill.exe to taskkill.exe and everything works fine.
    Sorry, but i got no Logs for this Error, but does the Error not occur at your System?

    So, i dont no if i am allowed to post Luettys Fix, but i just do it...

    Best regards.

    --Jens--

    By the Way: Is there a german Bug Report-Forum? My English is really bad...
     

    Attached Files:

    • restart.zip
      File size:
      30.6 KB
      Uploaded:
      December 26, 2008
      Views:
      175
  5. ronilse
    • Team MediaPortal

    ronilse Retired Team Member

    Joined:
    July 19, 2005
    Messages:
    4,422
    Likes Received:
    280
    Gender:
    Male
    Occupation:
    MediaPortal tester
    Location:
    Moss
    Ratings:
    +280 / 0
    Home Country:
    Norway Norway
    Show System Specs
    Hi,
    To get bugs confirmed/added it's best to have them in English & original language or not we will always ask if we don't understand what a post mean.
    That bug it's mentioned in our internal thread, not sure why it wasn't added for 1.0 final, will check it out :|

    Regards
    Roy
     
  6. Ragendorf

    Ragendorf Portal Pro

    Joined:
    March 24, 2008
    Messages:
    531
    Likes Received:
    21
    Occupation:
    Starverkäufer
    Location:
    Braunschweig
    Ratings:
    +22 / 0
    Home Country:
    Germany Germany
    Something additional:

    With the fixed restart.vbs from Luetty MP only sometimes restarts after Standby, sometimes the PC comes from standby, but MP is not correctly killed. It ends and restarts if i press a button on my Remote.

    Thougt it maybe could be important for you. Did you tested the modded File and could you reproduce the same Error?

    Best regards

    --Jens--
     
  7. chemelli
    • Team MediaPortal

    chemelli Retired Team Member

    Joined:
    September 28, 2006
    Messages:
    6,159
    Likes Received:
    1,126
    Gender:
    Male
    Occupation:
    Activation Manager - Cloud Services
    Location:
    Trento, Italy
    Ratings:
    +1,127 / 0
    Home Country:
    Italy Italy
    Please try attached restart.vbs and report if it's working or not.

    Simone

    EDIT : Script update to remove a comment than can throw an error on some systems ( maybe cscript < 5.6 )

    EDIT2: Again an update :p
     
  8. ronilse
    • Team MediaPortal

    ronilse Retired Team Member

    Joined:
    July 19, 2005
    Messages:
    4,422
    Likes Received:
    280
    Gender:
    Male
    Occupation:
    MediaPortal tester
    Location:
    Moss
    Ratings:
    +280 / 0
    Home Country:
    Norway Norway
    Show System Specs
    Hi,
    Bug added to Mantis

    (Chemelli has a fix which will work on both xp & vista, se previous post ;) )

    Regards
    Roy
     
  9. Ragendorf

    Ragendorf Portal Pro

    Joined:
    March 24, 2008
    Messages:
    531
    Likes Received:
    21
    Occupation:
    Starverkäufer
    Location:
    Braunschweig
    Ratings:
    +22 / 0
    Home Country:
    Germany Germany
    Hey Roy,

    thanks for adding to Mantis.

    Hello Simone,

    thanks for rework restart.vbs but it throws an Exception on my System. Sorry that i can´t show you a Screenshot, but i wrote down the Message:

    Programmpfad: C:/Program Files/Team MediaPortal/MediaPortal/restart.vbs
    Zeile: 7
    Zeichen: 52
    Fehler: Syntaxfehler
    Code: 800A03EA

    Kompilierungsfehler in Microsoft VBScript.

    Hope that would help you.

    Best regards.

    --Jens--
     
  10. bartmanson
    • Premium Supporter

    bartmanson MP Donator

    Joined:
    December 28, 2004
    Messages:
    127
    Likes Received:
    23
    Location:
    Nuremberg
    Ratings:
    +45 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi Jens,

    AFAIK VBScript does not allow "//" to start comments, only "'" (apostroph).

    The script should run if you remove the text "// system32 folder" in Line 7.

    HTH,
    BartManson
     
  11. chemelli
    • Team MediaPortal

    chemelli Retired Team Member

    Joined:
    September 28, 2006
    Messages:
    6,159
    Likes Received:
    1,126
    Gender:
    Male
    Occupation:
    Activation Manager - Cloud Services
    Location:
    Trento, Italy
    Ratings:
    +1,127 / 0
    Home Country:
    Italy Italy
    Script updated on my previous post. Plese retest and report back.

    :D

    Simone
     
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!