roleoroleo / yi-hack-MStar.gdrive

Google drive loader for yi smart ip camera (MStar based)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Limit google drive usage

alkhachatryan opened this issue · comments

I have 2 TB in google drive, but would like to limit the usage of camera, like to have 32GB for camera.
The camera will remove old videos from drive, if the space is full in gdrive, but how to set the limit in the configs? Delete old videos if X size used.
I couldn't find anything.

commented

At the moment it's not possible. Sorry.

@roleoroleo can you tell me please which file is responsible for memory checking. I'll try to open a PR for that

commented

The logic is in the file GDriveUploader
But this code is not mine and I don't know it very well.

commented

I have 2 TB in google drive, but would like to limit the usage of camera, like to have 32GB for camera. The camera will remove old videos from drive, if the space is full in gdrive, but how to set the limit in the configs? Delete old videos if X size used. I couldn't find anything.

I added this feature for the OneDrive uploader if you have a large space of one drive storage, you can have a try.