Add infinite scroll, gone/private tiles, and live-only scrape strip

This commit is contained in:
Fisto
2026-09-16 14:09:55 +02:00
parent d522681553
commit 3da0da0ca7
6 changed files with 54 additions and 11 deletions
+3
View File
@@ -121,6 +121,8 @@ export interface MediaItemResult {
playUrl: string | null;
/** The remote thumbnail URL from Discord's embed data (may be an animated GIF). */
remotePreviewUrl: string | null;
/** Why no preview exists, when a fetch failed (for example "http 404"). */
previewError: string | null;
localUrl: string | null;
thumbUrl: string | null;
provider: string | null;
@@ -739,6 +741,7 @@ export class MediaService {
url: row.url,
playUrl: row.play_url,
remotePreviewUrl: row.preview_url,
previewError: row.preview_error,
localUrl:
row.file_path && !meta.downloadDir
? `/api/media/${meta.id}/${row.id}/file`