feat: generate and display thumbhash blur placeholders for TMDB images

This commit is contained in:
jake committed 2026-03-14 18:58:09 -04:00
1 parent 76648a6023
commit aede4fc90a
49 files changed
+4294 -287

No files matched your search

@@ -0,0 +1,5 @@
ALTER TABLE `episodes` ADD `stillThumbHash` text;--> statement-breakpoint
ALTER TABLE `persons` ADD `profileThumbHash` text;--> statement-breakpoint
ALTER TABLE `seasons` ADD `posterThumbHash` text;--> statement-breakpoint
ALTER TABLE `titles` ADD `posterThumbHash` text;--> statement-breakpoint
ALTER TABLE `titles` ADD `backdropThumbHash` text;
File diff suppressed because it is too large. Load diff
+5
View File
@@ -110,7 +110,9 @@ export const titles = sqliteTable(
releaseDate: text("releaseDate"),
firstAirDate: text("firstAirDate"),
posterPath: text("posterPath"),
posterThumbHash: text("posterThumbHash"),
backdropPath: text("backdropPath"),
backdropThumbHash: text("backdropThumbHash"),
popularity: real("popularity"),
voteAverage: real("voteAverage"),
voteCount: int("voteCount"),
@@ -144,6 +146,7 @@ export const seasons = sqliteTable(
name: text("name"),
overview: text("overview"),
posterPath: text("posterPath"),
posterThumbHash: text("posterThumbHash"),
airDate: text("airDate"),
lastFetchedAt: int("lastFetchedAt", { mode: "timestamp" }),
},
@@ -166,6 +169,7 @@ export const episodes = sqliteTable(
name: text("name"),
overview: text("overview"),
stillPath: text("stillPath"),
stillThumbHash: text("stillThumbHash"),
airDate: text("airDate"),
runtimeMinutes: int("runtimeMinutes"),
},
@@ -339,6 +343,7 @@ export const persons = sqliteTable(
deathday: text("deathday"),
placeOfBirth: text("placeOfBirth"),
profilePath: text("profilePath"),
profileThumbHash: text("profileThumbHash"),
knownForDepartment: text("knownForDepartment"),
popularity: real("popularity"),
imdbId: text("imdbId"),