[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4326: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4328: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4329: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4330: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
Plugin: SleepTimer + sleep on idle (update 3)
Sign up here and you can log into the forum!

Plugin: SleepTimer + sleep on idle (update 3)

The WDTVExt plugin depot. Plugins/libraries/code only

Plugin: SleepTimer + sleep on idle (update 3)   

Postby dan » Sat Jun 19, 2010 7:05 am

Last edited by dan on Mon Jun 21, 2010 7:23 am, edited 10 times in total.
dan
Developer
 
Posts: 40
Joined: Fri May 28, 2010 11:35 pm

Re: Plugin: SleepTimer   

Postby BlackPuma » Sat Jun 19, 2010 8:06 am

looks great,
but does it also counts when you watch movies?

anyway:

Image
BlackPuma
WDTVer
 
Posts: 32
Joined: Fri Jun 11, 2010 3:22 am
Location: Europe, Belgium

Re: Plugin: SleepTimer   

Postby dan » Sat Jun 19, 2010 8:21 am

Hi BlackPuma,

yes, if you set the sleeptimer once it will send your device to sleep no matter what the deivce is doing in the meantime. So you can fall asleep while watching movies or listening to your favorite music.

Like I said the only problem is that the time display wont show on some views.

Have fun.
dan
Developer
 
Posts: 40
Joined: Fri May 28, 2010 11:35 pm

Re: Plugin: SleepTimer   

Postby BlackPuma » Sat Jun 19, 2010 8:37 am

But I want my device only to go to sleep after the movie is done,

for example:

sleeptimer: 30 min

I'm watching a movie and then after 30 min its goes to sleep? or not, I want after my movie around 92 min for example then 30 minutes from that point it goes to sleep?

when that's not possible maybe you should increase the sleeptimer's maxium, from 120 to 150 or something?
just my idea... tell me what you think
BlackPuma
WDTVer
 
Posts: 32
Joined: Fri Jun 11, 2010 3:22 am
Location: Europe, Belgium

Re: Plugin: SleepTimer   

Postby dan » Sat Jun 19, 2010 8:46 am

dan
Developer
 
Posts: 40
Joined: Fri May 28, 2010 11:35 pm

Re: Plugin: SleepTimer (updated)   

Postby dan » Sat Jun 19, 2010 9:25 am

...
dan
Developer
 
Posts: 40
Joined: Fri May 28, 2010 11:35 pm

Re: Plugin: SleepTimer   

Postby BlackPuma » Sat Jun 19, 2010 10:22 am

BlackPuma
WDTVer
 
Posts: 32
Joined: Fri Jun 11, 2010 3:22 am
Location: Europe, Belgium

Re: Plugin: SleepTimer (updated)   

Postby dan » Sat Jun 19, 2010 10:42 am

Ah now I get it: You want the device to go to sleep after the device idles for x minutes, right? Thats a pretty good idea! I will implement this in a future release. Thanks for that hint.
dan
Developer
 
Posts: 40
Joined: Fri May 28, 2010 11:35 pm

Re: Plugin: SleepTimer (updated)   

Postby BlackPuma » Sun Jun 20, 2010 12:16 am

yeah :-) now you got it.

Keep it up, I'm using it right now on 150 min, just enough to watch a movie, and when I forget to turn it of it will do it automatically :-)
BlackPuma
WDTVer
 
Posts: 32
Joined: Fri Jun 11, 2010 3:22 am
Location: Europe, Belgium

Re: Plugin: SleepTimer + sleep on idle (update 3)   

Postby dan » Sun Jun 20, 2010 11:16 am

Hi PlackPuma,

I have added sleep on idle support. Please update your SleepTimer.plugin.js with the new code of the first post.
dan
Developer
 
Posts: 40
Joined: Fri May 28, 2010 11:35 pm

Next

Return to WDTVExt plugins

Who is online

Users browsing this forum: No registered users and 1 guest

cron