feat: generate and display thumbhash blur placeholders for TMDB images

This commit is contained in:
2026-03-14 18:58:09 -04:00
parent 76648a6023
commit aede4fc90a
49 changed files with 4294 additions and 287 deletions
+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"),