v10.7.0 — Media Browser provider (local + NAS)
Event recordings now appear in HA's Media Browser — both local downloads and NAS uploads.
A new media_source platform exposes downloaded events under Media → Bosch SHC Camera. Two backends are auto-detected from existing options:
- Local — when Events automatically download is enabled with a
download_path. Tree: Camera → Date → Event. - NAS / SMB — when SMB upload is enabled (default for users who don't want auto-download to fill HA's small disk). Tree: Year → Month → Day → Event, matching the on-disk layout (all cameras share a day-folder). Files are streamed on demand via
smbprotocolwith HTTPRangesupport so MP4 seeking works — nothing is cached on the HA host.
Each event title shows time, type, and camera (e.g. 09:15:23 — MOVEMENT (Garten)). MP4 clips play inline; the matching JPEG snapshot doubles as a thumbnail for its clip. macOS resource-fork files (._*) are filtered out — relevant for FRITZ.NAS / Time Machine targets.
When only one backend is configured the source-chooser is hidden so the tree opens straight at the meaningful content. With both backends enabled the entry root shows Lokal and NAS \\server\share as siblings.
Manual filter — Media Browser source option. New options-flow dropdown overrides the auto-detect when needed:
| Value | Effect |
|---|---|
| Auto (default) | Show every backend that has data |
| Nur Lokal | Hide the NAS even if SMB upload is active |
| Nur NAS | Hide local files even if auto-download is active |
| Deaktiviert | Hide the Media Browser entry entirely |
Files are served by an authenticated /api/bosch_shc_camera/event/… view; path-traversal is blocked, only image/jpeg and video/mp4 are returned.
Forum thread context: simon42 community post #14 — same UX as Reolink's Media → Reolink entry.