MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
LinkBack (1) Thread Tools Display Modes
Old 2008-05-13, 20:59   1 links from elsewhere to this Post. Click to view. #1 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 640
Thanks: 4
Thanked 40 Times in 10 Posts

Country:

My System

Thumbs up Standby.Watcher plugin, prevents Standby til the recording has finished and goes...

Hi my new plugin Standby.Watcher does just a simple thing:

It checks if a recording is on going.
If anyone presses the power button to go in to standy, the display goes off and MP waits til the recording its done.
after that the pc goes in to the standby mode...

But if anyone presses in the meantime the space or enter key the display goes on and MP will stay

--------------------------------------------------------------------------------------------------------------------------------------------------

15.06.2008 - Sources attached - had problem that any code in MP itself resets the away mode (!?)

P.S.
It works only for Vista, XP has no away mode

MoPhat
Attached Thumbnails
standby-watcher-plugin-prevents-standby-til-recording-has-finished-goes-config.jpg  
Attached Files
File Type: rar StandbyWatcher_Source.rar (1.22 MB, 26 views)

Last edited by MoPhat; 2008-06-15 at 22:13.
MoPhat is offline   Reply With Quote
Old 2008-05-13, 22:16   #2 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Stockholm
Age: 37
Posts: 228
Thanks: 9
Thanked 5 Times in 5 Posts

Country:

My System

Default

good work!

Just hopes your wife is approving your solution asap!

thanks.
__________________
Most wanted feature(s) in MP/TVE3:
[TV Card priority when recording]
pnyberg is offline   Reply With Quote
Old 2008-05-13, 22:30   #3 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 640
Thanks: 4
Thanked 40 Times in 10 Posts

Country:

My System

Default

Yes, if she says - yes i works... then i think it will be ok

MoPhat

Last edited by MoPhat; 2008-05-13 at 22:49.
MoPhat is offline   Reply With Quote
Old 2008-05-13, 23:32   #4 (permalink)
Super Moderator
 
Paranoid Delusion's Avatar
 
Join Date: Jun 2005
Location: Cheshire UK
Posts: 5,521
Thanks: 82
Thanked 154 Times in 140 Posts

Country:

My System

Default

Really wish you success with this, a Vista user, missing xp feature.

Thanks
Paranoid Delusion is online now   Reply With Quote
Old 2008-05-19, 13:26   #5 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 640
Thanks: 4
Thanked 40 Times in 10 Posts

Country:

My System

Default

I have now for the moment 2 faults which are not good:

1. After the standby attempt was canceled the pc its going in to standby (i must make a global keyboard/mouse hook for that)
2. external USB devices like iMon or IR receiver for the MS remote shut downs the usb drivers in front of beginning the "away mode"... ergo i can not cancel the standby timer with the remote... just with the keyboard or mouse


I must first fix this 2 issues, after that i will post a test version in the plugin thread



************************************************** **************************************************
* Knows anyone a event from TVS where i can subscribe that the app receives a message if a recording has started / ended? *
************************************************** **************************************************

MoPhat

Last edited by MoPhat; 2008-05-19 at 13:29.
MoPhat is offline   Reply With Quote
Old 2008-06-04, 14:11   #6 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Stockholm
Age: 37
Posts: 228
Thanks: 9
Thanked 5 Times in 5 Posts

Country:

My System

Default

hi Mophat - any progress on this?

Waiting eagerly for this...

__________________
Most wanted feature(s) in MP/TVE3:
[TV Card priority when recording]
pnyberg is offline   Reply With Quote
Old 2008-06-04, 14:57   #7 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 640
Thanks: 4
Thanked 40 Times in 10 Posts

Country:

My System

Default

The progress is nearly done...

i still having problem to get a notification from the tvs if a recording is started(!?)

i'm now trying to use a file system watcher to get a notification, it watches the recording folder of tvs and if a rec is started s.w checks the schedule table for the end time of the recording for standby time. => not the best solution but should work...

::and if meanwhile anyone has pressed the power button, mp will go in to standby after the recording has finished.

any idea how to get the notification (without a timer)?
MoPhat
MoPhat is offline   Reply With Quote
Old 2008-06-04, 15:36   #8 (permalink)
Portal Member
 
Join Date: Apr 2006
Location: San Sebastian
Posts: 397
Thanks: 7
Thanked 15 Times in 11 Posts

My System

Default

Hi

Are you checking TV3 recordings right?
I think there is a methond on utils that say if there is a recording in place..

I have to check ...
Iosu
iosub is offline   Reply With Quote
Old 2008-06-04, 20:06   #9 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Stockholm
Age: 37
Posts: 228
Thanks: 9
Thanked 5 Times in 5 Posts

Country:

My System

Default

MoPhat,

Just a question regarding my scenario:

I usually record childrens program every day at 18.00-19.30.
After the recording have started I decide I want to watch the still ongoing recording or watch live TV.
Then I would use my Harmony 525 to start my TV, PC and Receiver. According to your description this plugin will prevent the PC from going in to standby and set a timer to got to standby after the recording right?

BUT in my case I would want to continue to watch TV or watch the recording even after the recording have stopped, will that work?

So what I'm trying to say is that when a press ANY button on the Remote I would want to cancel the standby timer. Since the "normal" PowerScheduler would set it to standby after the recording have finished (if you have configured it that way)...


Does that make sense?
__________________
Most wanted feature(s) in MP/TVE3:
[TV Card priority when recording]
pnyberg is offline   Reply With Quote
Old 2008-06-05, 09:22   #10 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 640
Thanks: 4
Thanked 40 Times in 10 Posts

Country:

My System

Default

@pnyberg

It goes only in standby if you press the power button when something is recordings

if you want back to MP while recording is on, then press just the power button again - that all!


Thats the trick!

MoPhat
MoPhat is offline   Reply With Quote
Reply

Bookmarks

Tags
finished, plugin, prevents, recording, standby, standbywatcher, til

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/plugins-47/standby-watcher-plugin-prevents-standby-til-recording-has-finished-goes-39625/
Posted By For Type Date
Avoiding standby while a recoding is on unter mediaportal/tvs? This thread Refback 2008-08-13 04:00

Similar Threads
Thread Thread Starter Forum Replies Last Post
option to kill tvservice before standby and restart it after standby. pmcguire Improvement Suggestions 0 2008-01-24 20:08
Resolving standby issues - MCE Standby tool mba General Support 7 2007-11-29 14:47
Disable standby if recording or recording scheduled to start pipeme General Support 5 2007-06-20 04:47
Avoid standby when recording rockmeisster General Support 1 2006-09-21 20:04
Does not start recording from standby Kulle Codecs, External Players 2 2006-03-23 11:30


All times are GMT +1. The time now is 19:40.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress