-
Notifications
You must be signed in to change notification settings - Fork 74
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
Timelapse has no disk space limits, it will fill up the SD card. #449
Comments
timelaps implies that you retain all frames before you combine them into a timelapse clip. having a timelapse that deletes older files sounds silly. use a larger card or a network share. |
Even if I use a network share I don't want it to take over all the share space, it would be best that there is an option to say keep the last 5 days and delete them automatically if no action is made at them. And since the firmware itself is actually building the timelapse but expects a 3rd party to do that, it should protect itself from running out or resources. BTW, I can't find at the wiki how it's supported by Thingino, I've seen the U-Boot section but it's mentioning "how to boot a device using U-Boot over NFS". What kind/type of network shares are supported by Thingino? |
NFS is supported out of the box. You can add CIFS if you compile your own build. |
i like the idea to limit the depth in full days. i will add that. |
That will be great! |
fixed in 6c9ecb0, can we close? |
Test in the new build. |
I'll upgrade to the latest build and get back to you in 1-2 days, I have about 10 days worth of folders so let's see. I'll test the new one and let you know. |
It works for removing the images but it seems that it can't delete the directory because the "convert2video.sh" is still at the folder so the "-empty" term is not matched and the directory is not deleted
A side note, this may be due to wireless connection to a NFS share, but it seems that sometime the find on the NFS may get stuck and I see that I have now 3 "timelapses", it started with 2 and now is 3. I'll reboot the camera and watch this.
I don't know if for this "multiple" timelapses I should file a new issue, not at this stage at least. |
does it still create convert files? i thought i removed that, lol. |
You're right, it's not anymore I didn't noticed that... They were still created because I had not upgraded to a recent version. So once I delete that file the removal of the dirs it should work fine. I'll let you know in a couple of days that it will move to the recent dirs. If we can optimize the find command it will be a bonus... |
If you only enable timelapse, and not have Video Recording enabled, there is no "monitor/limit" for the disk space and it fills the SD card....
Can this be added?
And potentially it will need to be either aligned with the limit of the Video Recording or have separate values for each.
i.e.
Timelapse: 5GB
Video Recording: 10 GB
The text was updated successfully, but these errors were encountered: