feat: add video streaming proxy and webhook cache invalidation

- Add /api/video/[id] route with Range header support for seeking
- Add /api/webhook route for Immich event-driven cache invalidation
- Add streamVideo() to ImmichClient with 206 Partial Content support
- Support album description overrides in gallery.yaml
- Add videoUrl() helper to lib/urls.ts
- Export cache.delete() and cache.clear() methods
This commit is contained in:
ralksta
2026-05-29 17:04:57 +02:00
parent ce7c1742be
commit e9063d3a71
7 changed files with 267 additions and 5 deletions

View File

@@ -44,6 +44,10 @@ class MemoryCache {
});
}
delete(key: string): void {
this.store.delete(key);
}
clear(): void {
this.store.clear();
}