Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Querying SCRCPY session in progress? #153

Closed
leaskovski opened this issue May 25, 2018 · 2 comments
Closed

Querying SCRCPY session in progress? #153

leaskovski opened this issue May 25, 2018 · 2 comments

Comments

@leaskovski
Copy link

First off, thanks for this awesome app! Its great! The performance is brilliant!

Now for my question, is there a way to query if a SCRCPY session is in progress?

I would like to hook tasker up to detect that one is running and then set the screen brightness level to low, disable auto brightness and keep the screen on for longer.

@rom1v
Copy link
Collaborator

rom1v commented May 25, 2018

Why not simply run scrcpy from a script that set these values, start scrcpy, then restore the values back? (see discussion #96)

Otherwise, I don't know. ps | grep app_process, but may not be reliable.

@rom1v rom1v added the question label May 27, 2018
@leaskovski
Copy link
Author

Thanks. You have pointed me to this:
#101 (comment)

This gives me what I need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants