Stream refreshed media for playback and view full
This commit is contained in:
@@ -40,6 +40,13 @@ mobile draft at 390px.
|
||||
- [x] C11 preview caching: Discord-hosted image/GIF previews (WebP 320px, hash-addressed, 5 MiB
|
||||
cap, one attempt) run after every walk in both modes. Live run `...-20260916090722`:
|
||||
`previewed: 2`; thumbs served over `/api/media/<scrape>/<item>/thumb` (200).
|
||||
- [x] C21 Playback of non-downloaded and expired media. `play_url` stores the embed's direct
|
||||
video (gifv/Tenor mp4); a new `/api/media/<scrape>/<item>/stream` route serves the local file
|
||||
or re-fetches the source message through slopbot to refresh expired signed CDN URLs and streams
|
||||
it with Range support. The viewer and **View full** use it, so Discord attachment videos play
|
||||
without a prior download and old links no longer dead-end. Live: 2.5 MB webm streamed 200 with
|
||||
a refreshed URL; play_url populated for a media.discordapp.net gifv mp4 and provider
|
||||
redirectors.
|
||||
- [x] C20 Cross-scrape dedupe and viewer polish. `queryMedia` and `stats` deduplicate by URL
|
||||
(newest scrape wins), so overlapping scrapes no longer duplicate cards or counters (live: 17
|
||||
items / 17 unique). Viewer: big play icon top-right; play embeds a provider player or a direct
|
||||
|
||||
Reference in New Issue
Block a user