Disable Lockscreen When Audio is Playing?

132 views
Skip to first unread message

clambert

unread,
Oct 11, 2011, 7:58:28 AM10/11/11
to tas...@googlegroups.com
Is it possible to disable the lockscreen when music or audio (podcasts) are playing?

I know you can do application based tasks, which I have done.  Unfortunately if the application is pushed to the background the screen still appears to lock for me.

I use the BeyondPod Play / Pause widget a lot and therefore the application isn't on top.  I'd like to prevent the screen from locking while playing my podcasts.

Any ideas?

BossMan

unread,
Oct 11, 2011, 8:28:17 AM10/11/11
to tas...@googlegroups.com


Unfortunately if the application is pushed to the background the screen still appears to lock for me.

App detection works only on foreground apps - when BeyondPod goes background its profile is no longer active.

As for detecting the audio being played: if BeyondPod uses built-in media server, you could try the method described here:
https://groups.google.com/d/topic/tasker/AitpeRzgCb4/discussion

BR,
A.

 

Oon-Ee Ng

unread,
Oct 11, 2011, 9:33:12 PM10/11/11
to tas...@googlegroups.com

I've tried that method and related, but its hit-and-miss for detecting whether something is playing or paused. I'm currently using pidof alone just to find out if my player  (mortplayer) is running, and I simply trigger a pause if it is and a toggle pause after i'm done to resume.

Using power amp or phantom control would work better but both cost some cash...

Reply all
Reply to author
Forward
0 new messages