Detect whether App is active/paused
Posted: 10 Feb 2020 08:24
Hi,
not yet an automagic user but in search of a solution for a problem.
I've an app to control a remote media player (two options available, html5 running in Chrome as well as android app)
Think of it as a media player only that music is not actually played in the device. Music is stored and played in a different device, but you have cover art, volume control, pause/play, progress bar, etc
So far screensaver will trigger after a time without user interaction. Problem is I want to trigger screensaver when music is paused, not when music is playing (since I want to see song title and cover on the screen). Since I'll have a playlist, there will be no user interaction with the app. That means I need to detect activity based on changes in progress bar, counter for time played/remaining, etc
Is it possible to achieve this with automagic?
Thanks in advance
not yet an automagic user but in search of a solution for a problem.
I've an app to control a remote media player (two options available, html5 running in Chrome as well as android app)
Think of it as a media player only that music is not actually played in the device. Music is stored and played in a different device, but you have cover art, volume control, pause/play, progress bar, etc
So far screensaver will trigger after a time without user interaction. Problem is I want to trigger screensaver when music is paused, not when music is playing (since I want to see song title and cover on the screen). Since I'll have a playlist, there will be no user interaction with the app. That means I need to detect activity based on changes in progress bar, counter for time played/remaining, etc
Is it possible to achieve this with automagic?
Thanks in advance