Add message links, suspect retries, and Discord preview recovery

This commit is contained in:
Fisto
2026-09-18 11:47:08 +02:00
parent 9481286169
commit 8752b36209
16 changed files with 831 additions and 35 deletions
+3
View File
@@ -101,6 +101,9 @@ media-scrape/db/
- The grid never renders an embed's page URL as media. A direct video file without a preview shows
a first-frame `<video>` only for playable containers (mp4, webm, m4v); anything else shows a
labeled placeholder, and a failed image falls back to that placeholder.
- Every item carries the permanent Discord message link (`messageUrl`) derived from
`media_sources`; the viewer shows it (with a copy button) instead of the expiring CDN URL, and
"View full" streams through the daemon so the source is refreshed automatically.
- Every item records who posted it, when, and its dimensions: `author_id`, `author_name`,
`posted_at`, `width`, `height`, and `aspect_ratio`. In `download` mode a missing resolution is
filled in with `ffprobe` after the file lands.