pandora sleep timer

397 views
Skip to first unread message

jimmy74

unread,
Jul 31, 2010, 4:45:59 PM7/31/10
to Tasker
Looking for a way to set a timer to shut down pandora after a defined
set of time. For example, when you start pandora it ask you if you
want to set a sleep timer. If you do it stays active till the timer
runs out then shuts down. Great for going to bed playing music, but
not play all night long. Thanks.

jimmy74

unread,
Jul 31, 2010, 4:49:51 PM7/31/10
to Tasker

BossMan

unread,
Jul 31, 2010, 5:08:05 PM7/31/10
to Tasker
How about something like this:

Profile PandoraStart
- context: app Pandora
- entry task: action Alert->PopupTaskNames, with tasks names "yes" and
"no"

Go to "tasks" (button at the bottom) and create two tasks:
- task "yes": action Variable Set SLEEPTIMER = 1
- task "no": action Stop (it's just a dummy task - you can safely omit
it if you want)

Profile PandoraTimer
- context: state Variable: SLEEPTIMER is set
// for entry task: in the properties and set "keep device awake"
- entry task: action Tasker->Wait xxx minutes
- entry task: action Variable Clear SLEEPTIMER
- exit task: action App->KillApp, Pandora

Have not tested this, but it's possible it will work.

You could also achieve that using calender event instead of "wait",
but let's start with "wait" first.

Note: if you're on Froyo it may not work for you, as the "Kill App"
action may not work.

BR,
A.

Kurosh Nahavandi

unread,
Aug 9, 2010, 1:04:23 PM8/9/10
to Tasker

> Note: if you're on Froyo it may not work for you, as the "Kill App"
> action may not work.
>
> BR,
> A.

Interesting!! I didn't know this - I've been looking everywhere as to
why I cannot kill Pandora - I've looked everywhere - didn't realize
Froyo is messing with it.
Thanks a lot for saving me more time looking :)
Reply all
Reply to author
Forward
0 new messages