Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#128722 - 01/12/2002 21:38 Stopping sleep to off timer programatically
THardie
new poster

Registered: 12/11/2002
Posts: 2
Loc: Union City, CA
I've added a WET11, and ethernet hub to my car so I can talk to my EMPEG when it's parked in the garage.

Wroks fine, except the player shutdown down after 30 or so minutes (Setting off_timer to the max of 172000 doesn't work)

I am writing a program that will run on one of my linux servers that'll continually look for the empeg to be available on the LAN (via the wireless), and when it is, connect and sync. I'd like to be able to disable the shutdown timer while this happens, and then force a shutdown when the sync is complete.

Ideas?

Top
#128723 - 01/12/2002 21:51 Re: Stopping sleep to off timer programatically [Re: THardie]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
If you're using Hijack, you could send an HTTP command to wake up the player and then pause it.

And there is already something in the sync protocol to say "shut down the player when synch completes", emplode uses it...
_________________________
Tony Fabris

Top
#128724 - 01/12/2002 21:51 Re: Stopping sleep to off timer programatically [Re: THardie]
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
switch to ac mode using hijack when you leave it in the car, then put it in standby.

Top
#128725 - 01/12/2002 21:53 Re: Stopping sleep to off timer programatically [Re: RobotCaleb]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Hey, that's even better.
_________________________
Tony Fabris

Top