fix(dashcam): prevent site freeze during import/convert

- _convert_bg now runs in real threading.Thread (not gevent greenlet)
  so ffmpeg proc.wait() doesn't block gevent event loop
- _device_lock released before copy loop; only held for mount/unmount
  so /api/dash/files and other routes don't block during long copies
- Date now shows time (Aug 9, 10:30 PM) on mobile video rows
- Spacing added above converting spinner badge

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Mathieu Moran
2026-08-10 01:23:53 -04:00
co-authored by Copilot
parent 77cd3fdadd
commit ba712bd6db
4 changed files with 21 additions and 17 deletions
+2 -2
View File
@@ -321,8 +321,8 @@ body {
.dash-thumb-name { display: block !important; font-size: .7rem; margin-top: .2rem; }
/* Date + converting badge under thumbnail (mobile only) */
.dash-thumb-meta { display: block; font-size: .65rem; line-height: 1.2; }
.dash-thumb-converting { display: inline-block; font-size: .65rem; padding: .1rem .3rem; }
.dash-thumb-meta { display: block; font-size: .65rem; line-height: 1.2; margin-top: .15rem; }
.dash-thumb-converting { display: inline-block; font-size: .65rem; padding: .1rem .3rem; margin-top: .25rem; }
/* Icon-only buttons */
.btn-icon-mobile .btn-label { display: none; }