Shutdown timer

Posted by: tms13

Shutdown timer - 07/06/2002 08:41

I know that Hijack has a shutdown timer, and I use it regularly. But I think that this feature would be better implemented in the player, as it could then use its knowledge of track lengths to power down on the nearest track boundary.

(There's also a problem with Hijack's method, in that it injects a long press of the Source/Power button - if the player is away, blocked on disk access, it sees only a short press, and spends the rest of the night on Aux input. Since the kernel knows when the player reads the button code, can it use the read to know how long to hold the button?)
Posted by: tonyc

Re: Shutdown timer - 07/06/2002 08:45

I second this notion, though I planned on adding a sleep timer to my empwake software. I could even possibly look at /proc/empeg_notify and look for a track change before powering down... Would this meet your needs in the mean time? A new feature like this in the player seems far off, given we're still waiting for 2.0 final.
Posted by: tfabris

Re: Shutdown timer - 07/06/2002 09:19

Version 2.0 of the player software already has a shutdown timer. Press and hold on the "power off" menu, and it gives you options.
Posted by: tonyc

Re: Shutdown timer - 07/06/2002 10:15

I think what he wants is to set a time, say, an hour, and then have the player power off at that time, or at the nearest track boundary. The player doesn't have that kind of logic, it just does "now, this track, this playlist."

Hence the "shutdown timer" clearly mentioned in the title. The current function isn't really a timer at all.
Posted by: tms13

Re: Shutdown timer - 10/06/2002 08:09

In reply to:

I think what he wants is to set a time, say, an hour, and then have the player power off at that time, or at the nearest track boundary. The player doesn't have that kind of logic, it just does "now, this track, this playlist."


Indeed that's exactly what I mean - combining Hijack's timer with the player's delayed sleep. Ideally, this would be in the player, as it knows the track lengths and could avoid starting a long track just before the timer is due, but a Hijack option to wait for a track boundary would be nice (except that Hijack's timer is different, as it operates when the player is paused or asleep, too. Perhaps have it activate immediately if it's not actually playing?).