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

[Feature Request] record when only when phone is charging #84

Open
notkudu opened this issue Mar 2, 2024 · 2 comments
Open

[Feature Request] record when only when phone is charging #84

notkudu opened this issue Mar 2, 2024 · 2 comments

Comments

@notkudu
Copy link

notkudu commented Mar 2, 2024

hey, It will be nice if the app start recording when they phone is pugged in and pause when it's unpluged (cuz I leave the phone in the car and the phone only charge when the car is on, so this will help save battery)

and also an auto save, instead of having to manully save :)

@Myzel394
Copy link
Owner

Myzel394 commented Mar 4, 2024

This is related to #15.

However, many people have requested this feature now, I may should add some builtin light auto controls. I don't want to rebuild something like Tasker from scratch, but some basic controls could be helpful. I don't know if this is 100% possible because of Android's security. I think Alibi is not capable to start video recordings in the background, will need to look this up. (just me thinking out loud now)

and also an auto save, instead of having to manully save :)

This is actually the hard part. This is also why automatic controls are not so easy. If you use Alibi with default settings, recordings will be saved to the internal storage. When you want to save them, Alibi needs to know where to save the file, and also needs the appropriate permission. This is done by showing the file saver dialog. This way the user can decide where the recording will be saved and Alibi is automatically granted the permission to do so.

However, you can use a custom batches location. For example your DCIM folder or a custom one. This way, the batches are saved in those folders. We could add more auto-save features though when the user do not uses the internal storage...

@GeorgeBroughton
Copy link

There's an android app called automate that can take photos and video conditionally without user input. You just need a background process/service always running that the user invokes at least once after the phone's boot up in order to achieve it.

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

No branches or pull requests

3 participants