-
Notifications
You must be signed in to change notification settings - Fork 14
Removable Storage #794
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
base: master
Are you sure you want to change the base?
Removable Storage #794
Conversation
|
📦 To trigger a firmware build, comment
You can also specify a custom version: If no version is specified, one will be generated automatically. |
|
commit - e3d4ba7 - Contains pop up for selecting duration, format, and destination i.e detected usb. The below ui is not final, please drop suggestions.
|
…d in the removable storage(start_date_to_end_date) format, functionality to cp one min video to removable storage
Screencast.from.2025-10-24.09-43-38.mp4 |
|
ui updates 2025-11-28.10-57-11.mp4 |
…rouping rec into chunks to use ecto limit as the base, accurate calculation of recordings size
|
A video showing updated ui export journey Screencast.from.2025-12-04.20-02-54.webm |
…elect to external drive
|
The ui below shows:
Screencast.from.2025-12-07.10-20-32.webm |
| @@ -0,0 +1,91 @@ | |||
| defmodule ExNvr.RemovableStorage.Mounter do | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this ??
We discussed before that ex_nvr should not know anything about USB and any device. Delete all this code.
| attr(:children, :list, default: []) | ||
| attr(:current_path, :string, default: nil) | ||
| attr(:is_active, :boolean, default: false) | ||
| attr(:role, :atom, default: nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restore the formatting
ui/lib/ex_nvr_web/ets_server.ex
Outdated
| @@ -0,0 +1,52 @@ | |||
| defmodule ExNVRWeb.ETSServer do | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need an ets ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to remove that, It was for state manager for the export stepper
ui/lib/ex_nvr_web/router.ex
Outdated
| plug(:put_root_layout, {ExNVRWeb.Layouts, :root}) | ||
| plug(:protect_from_forgery) | ||
| plug(:put_secure_browser_headers) | ||
| plug(:fetch_current_user) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix your formatter and do not run mix format from the root folder.

This PR is still WIP
Checklist