Sign up here and you can log into the forum!

sleeptimer.app.bin

Here is the place to inquire about app.bins--Only currently available apps for sigma 8655 based wdtv's belong in this forum. requests go in 'Application Questions'

sleeptimer.app.bin   

Postby KAD » Thu Nov 17, 2011 3:26 pm

Starting a new thread on this, mainly so it can be found
but there's still lots of good info in the prior http://forum.wdlxtv.com/viewtopic.php?f=17&t=5759
with discussion of some sleep functionality built into sysinfo UMSP plugin

so anyways
sleeptimer.app.bin or I guess you could call it sleep on idle

Change Log

12/2/2013
* add log file at /tmp/sleeptimer.log
* add check to make sure power went off, if still powered, 2nd attempt to power off

12/08/2011 version 1.3
* added more time between system checks, should prevent premature shutdown

11/29/2011 version 1.2
*fixed not able to use custom TIME_TO_SLEEP value

11/19/2011 version 1.1
*fixed not powering down from within netflix

11/16/2011 version 1.0
*Original Release

Download
use addons manager to download from svn

Supported Devices
WDTV Live
WDTV Live Plus

Requirements
any WDLXTV firmware
DMAOSD_DEBUG must be "File" or "File + stderr" (first tab in WEC under "system")
if DMAOSD_DEBUG is "OFF" this will not work

Installation
set DMAOSD_DEBUG (first tab in WEC under "system" if you've never used this select "File")
reboot
select SLEEPTIMER ON (WEC Apps tab)

Optional
set TIME_TO_SLEEP (WEC Apps tab) default is 600 seconds

Notes
Not compatible with videoscreensaver.app.bin

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: sleeptimer.app.bin   

Postby simogere » Thu Nov 17, 2011 4:22 pm

Good job, KAD! It works! Unfortunately you can't enable/disable the timer by remote. Anyway, thanks for the app!
User avatar
simogere
Donor
 
Posts: 153
Joined: Tue May 11, 2010 9:50 pm

Re: sleeptimer.app.bin   

Postby KAD » Thu Nov 17, 2011 4:47 pm

yeah, was originally thinking about that, but it requires catching key press, which needs wdtvext, the other option is to use sysinfo UMSP plugin in conjunction with this to change the settings and restart the script

for now it's sort of 2 options, this is a set it and leave, sleep on idle
and sleeptimer has the option to force power down in x amount of time

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: sleeptimer.app.bin   

Postby simogere » Thu Nov 17, 2011 5:06 pm

No problem, KAD. With Sysinfo plugin I already have all what I need ;)

Thanks again, Simone.
User avatar
simogere
Donor
 
Posts: 153
Joined: Tue May 11, 2010 9:50 pm

Re: sleeptimer.app.bin   

Postby AnarchyBurger » Thu Nov 17, 2011 11:33 pm

This works great so far but with one issue, it doesn't close out of Netflix when trying to shutdown. If it sent the OK button command a few seconds after the power button command it would go all the way to standby from Netflix. I don't know about most people but Netflix is open about 80% of the time the device is on for me.
User avatar
AnarchyBurger
Donor
 
Posts: 22
Joined: Sat Oct 22, 2011 9:38 pm

Re: sleeptimer.app.bin   

Postby KAD » Thu Nov 17, 2011 11:40 pm

does it create a problem to shutdown while still in netflix? or does it not shutdown while in netflix?
since I have a live, I can guarantee my WD has never had netflix open :P

if there's a problem or enough need, I can inject HOME prior to shutdown

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: sleeptimer.app.bin   

Postby AnarchyBurger » Thu Nov 17, 2011 11:49 pm

KAD wrote:does it create a problem to shutdown while still in netflix? or does it not shutdown while in netflix?
since I have a live, I can guarantee my WD has never had netflix open :P

if there's a problem or enough need, I can inject HOME prior to shutdown

KAD


It doesn't shut down properly in Netflix. If Netflix is open and you hit the power button on the remote a screen pops up and asks you if you want to quit Netflix with a yes/no selection screen. When the app tries to power down the wdtv it just stays at this option screen waiting for more input. If the app at this point sent the ok button command it would exit Netflix and power down. Other then that it works.
User avatar
AnarchyBurger
Donor
 
Posts: 22
Joined: Sat Oct 22, 2011 9:38 pm

Re: sleeptimer.app.bin   

Postby KAD » Thu Nov 17, 2011 11:51 pm

well, that definetely is a problem, I'll make some edits sometime this weekend

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: sleeptimer.app.bin   

Postby AnarchyBurger » Thu Nov 17, 2011 11:56 pm

KAD wrote:well, that definetely is a problem, I'll make some edits sometime this weekend

KAD


I look forward to it. You the man. :D
User avatar
AnarchyBurger
Donor
 
Posts: 22
Joined: Sat Oct 22, 2011 9:38 pm

Re: sleeptimer.app.bin   

Postby KAD » Fri Nov 18, 2011 6:05 pm

since I don't have a PLUS I need some info from PLUS netflix users

1. if you push power while in NETFLIX, the popup screen, is the default OK, to leave netflix
or is the default cancel, so it requires 2 key presses??

2. is there any other way out of NETFLIX? is you push HOME does it ask you to exit netflix or does it actually return you to the home screen?

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Next

Return to WDLXTV-G2 & WDLXTV-Live/Plus app.bins

Who is online

Users browsing this forum: No registered users and 2 guests