Add optional SavedClips minute-window filter#1033
Open
andyylin wants to merge 5 commits intomarcone:main-devfrom
Open
Add optional SavedClips minute-window filter#1033andyylin wants to merge 5 commits intomarcone:main-devfrom
andyylin wants to merge 5 commits intomarcone:main-devfrom
Conversation
Author
|
Per marcone's feedback in #1030 (comment), changed the implementation to a helper python script. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds an optional setting to limit how much SavedClips footage is archived per event.
What is added
ARCHIVE_SAVEDCLIPS_LAST_MINUTES(default0)0keeps existing behavior (archive all SavedClips)N > 0archives only the lastNminutes of clip files from eachSavedClips/<event>/folderrun/filter_savedclips_window.pyrun/archiveloopto call the helper when enabledteslausb_setup_variables.conf.sampleWhy
This allows users to reduce cloud upload time and storage by syncing only the most recent part of manually saved dashcam events (for example, last 3 minutes instead of full event clips).