| | #1 (permalink) |
| MP Donator ![]() Join Date: Mar 2008 Location: Hamburg
Posts: 337
Thanks: 7
Thanked 50 Times in 15 Posts
Country: | This application is not really a plugin but a utility to solve some of the Windows standby/hibernate problems with Mediaportal and/or TVService. It is based on lkuech's PowerEventHandler. The difference is that it is customized to work for MP and TVS special purposes. What is does:
All the stop and start conditions can be customized by the user from the config dialog as well as different timeouts. It is also possible to wait for a network connection (for example Wlan) before starting TVS. I hope it is helpfull. Plz report bugs. "MPstandbyHandler 1" Install Guide: - Just put the exe-file anywhere you like and start it. ChangeLog: 1.0.0.6 - Fixed bug that application wont run on Vista 1.0.0.7 - Added feature to start a custom command like .bat .cmd .vbs etc. at beginning of the resume process 1.0.0.8 - Added feature that the pc will be rebooted if MP can't be killed during resume 1.0.0.9 - MP stop function splitted into two parts: first try to stop MP the normal way, if that doesn't work kill MP 1.0.0.10 - Fix a bug with new feature from 1.0.09 - Did some refactoring ================================================== ============================== "MPstandbyHandler 2" Install Guide: - Copy the files (the complete contents of the zip file) into ONE directory. - Install MPstandbyHandlerService via the "install.cmd" script. The script HAS TO BE RUN AS ADMINISTRATOR !!!!! - Reboot the Maschine or start the service via windows service controll window - Start MPstandbyHandlerGui.exe and configure for your needs - Start MPstandbyHandlerUser.exe if you do want it to run right now. Otherwise check the "Autostart Userspace Executable" checkbox in MPstandbyHandlerGui and restart the system (You don't need this exe if you don't plan to stop/start MP) - You can test the resume and suspend functions from the "Gui Log" Tab. Sourcecode via SVN on Sourceforge: https://mp-plugins.svn.sourceforge.n...tandbyHandler2 ChangeLog: Beta01: - First Beta only Gui working Beta02: - Second Beta, should have nearly full functionality, service is running Beta03: - fixed some bugs Beta04: - fixed install scripts Beta05: - changed the location of the settings and job files - changed settings handling - all needed extra files or directories will be automatically created - some bugfixes Beta06: - added a userspace extra executable which runs in systemtray and does things like stop or start MP - application will take care now if MP was running during standby or not, to decide if MP should be started on resume Beta07: - switched to VS Express 2008 - little bugfix on TVS start job Beta08: - some bugfixes Beta09: - Added extra property to the MP and TVS stop jobs -> Kill immediately - i found out that there is no way to query extra time or temporarily stop susend on windows vista -> means not much time left before a suspend on vista -> killing for example speeds things up !!! MP and TVS stop job xml files have to be delete by hand !!! Beta10: - Added extra property for MP start to set MP to foregound and focus the MP window - Added experimental Splashscreen (MPstandbyHandlerUser.exe needs to be running) - some bugfixes 2.0.0.1 - First Release 2.0.0.2 - Added "AlwaysStart" property to MP start job - thx to PJ - Modified some internal remote communication between Service and User app 2.0.0.3 - Fix a bug in logging system 2.0.0.4 - Added job sections for system startup and shutdown (see info above) - Added a rotating log file system which will copy old log file to .log.1, .log.2 ... until .log.5 - Added an error log file which will only contain messages with the log level "warning" or "error" - Did some cosmetic improvements 2.0.0.5 - Removed system startup and shutdown feature again, because especially startup never worked as it should. This feature are better located in other applications (I still left the old version 2.0.0.4 in the attachment) 2.0.0.6 - MPstandbyHandlerUser rewritten, just to have a nicer code 2.0.0.7 - Updated MPstandbyHandlerUser/MPstandbyHandlerService network communication - Fixed MP start job "AlwaysStart" function - Fixed Flags reader, if no Flags file was found - Reduced number of rotation log files - Add setting LogLevel - Reduced logging during job load 2.0.0.8 - Added "Check Suspend State during Resume" checkbox in config common tab. Disable this checkbox if you have trouble with resume and get the message "OnResume called but not suspended" Last edited by josch.hh; 2009-06-19 at 19:31.. |
| | |
| 34 Users Say Thank You: | bartlet, boombastic, boxbooster, Brette, chefkoch, Cuitlahac, datfreak, donkarlos, fmarcia, frenzy, grubi, HaPe, J-B-N, JackTramiel, Luna96, m0use, macnam, MdFolter, MiamiBeach, morpheus_xx, Paranoid Delusion, petrovice, putkonen, robhawk, RoXoR, Santy, Splog, stefanros, SuAlfons, tourettes, Tropics, User 04, wim168, zeebee |
| | #2 (permalink) |
| Super Moderator Join Date: Jun 2005 Location: Cheshire UK
Posts: 8,639
Thanks: 226
Thanked 387 Times in 349 Posts
Country: | josch.hh Thanks for this, as for myself standby has become a nightmare since going from RC2 (working) to svn 20010 (totally screwed) where only 2\3rd of my channels work after resume, and unable to record, but can watch live\recorded TV, but cannot delete any shows. This seems to fix things for the last 48 hrs, had 1 failure, where TVServer refused to start, mssql problem show in logs, but again cannot reproduce consistantly. Will try your new version. Regards |
| | |
| | #3 (permalink) |
| MP Donator ![]() Join Date: Mar 2008 Location: Hamburg
Posts: 337
Thanks: 7
Thanked 50 Times in 15 Posts
Country: | @Paranoid Delusion plz check out the "waiting for network connection feature" maybe this will help you. If you can find out some details of your problem, then maybe i can try to code something that checks the connection to mysql before tvservice will be started. |
| | |
| | #4 (permalink) |
| MP Donator ![]() Join Date: Aug 2007 Location: Tirol/Wörgl Age: 30
Posts: 300
Thanks: 2
Thanked 5 Times in 5 Posts
Country: | Great Tool i will try it, but does the function "reinitialize service on wakeup (also reinitialize tvtuner)" not the same in the power scheduler plugin? Is it possible to kill the tvservice exe after wakeup?
__________________ cu chrisonline www.chrisonline.at MP: 1.0 TVE: 1.0 CPU: AMD Athlon 64 x2 Dual Grafik: Radeon X700 BS: WinXP SP3 TV-Karte 1: Terratec Cinergy 1200 DVB-C TV-Karte 2: KNC One DVB-C + Sound: Soundblaster Audigy Z2 Remote 1: Microsoft MCE Remote Remote 2: Harmony 525 Remote 3: Living Room Funk Keyboard |
| | |
| | #5 (permalink) | |
| MP Donator ![]() Join Date: Mar 2008 Location: Hamburg
Posts: 337
Thanks: 7
Thanked 50 Times in 15 Posts
Country: | Quote:
You can restart the tvservice on resume, means the process/service will be stopped/killed and restarted. | |
| | |
| | #7 (permalink) |
| MP Donator ![]() Join Date: Mar 2008 Location: Hamburg
Posts: 337
Thanks: 7
Thanked 50 Times in 15 Posts
Country: | You are right, sorry for that. I tested it only on XP. I will be away for 3 days, so that i can fix it round about sunday. Plz be patient, it will also work on Vista. |
| | |
| | #9 (permalink) | |
| MP Donator ![]() Join Date: Aug 2007 Location: Tirol/Wörgl Age: 30
Posts: 300
Thanks: 2
Thanked 5 Times in 5 Posts
Country: | Quote:
There is an new yellow symbol. Right clik and you see the options.
__________________ cu chrisonline www.chrisonline.at MP: 1.0 TVE: 1.0 CPU: AMD Athlon 64 x2 Dual Grafik: Radeon X700 BS: WinXP SP3 TV-Karte 1: Terratec Cinergy 1200 DVB-C TV-Karte 2: KNC One DVB-C + Sound: Soundblaster Audigy Z2 Remote 1: Microsoft MCE Remote Remote 2: Harmony 525 Remote 3: Living Room Funk Keyboard | |
| | |
![]() |
| Bookmarks |
| Tags |
| mpstandbyhandler |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MediaPortal TVService on virtualized Windows XP | cPH | Ongoing HTPC Projects | 27 | 2009-04-02 11:23 |
| TVService crashes instantly when closing MediaPortal/SetupTV.exe | kolizz | pre 1.0 RC1 | 2 | 2007-04-20 20:11 |
| Stop RTSP player on suspend | joboehl | Improvement Suggestions | 3 | 2007-01-18 12:25 |
| Many files in directory=mediaPortal stop | flanders210 | General Support | 12 | 2006-06-22 16:31 |
| MediaPortal closed after suspend? | Sirkent | General Support | 1 | 2006-01-18 20:22 |