Unify entry page for TMDB previews and add artwork section
- Entry details page now also renders entries not in the library, using the TMDB preview mapped to the same entry shape; remove TmdbPreviewPage - Preview endpoint returns an entry-shaped object, TMDB seasons and directors - Artwork section: TMDB posters, backdrops and logos merged with the media table, with in-library badges, language filter and add-to-library - Record tmdb_path on downloaded media so TMDB images can be matched - Recommendations by TMDB id for entries not in the library
This commit is contained in:
1 parent
a9ff2d089a
commit
28eee34548
19 files changed
+1190
-411
No files matched your search
@@ -53,11 +53,6 @@ const EntryDetailsPage = lazy(() =>
|
||||
default: m.EntryDetailsPage,
|
||||
})),
|
||||
);
|
||||
const TmdbPreviewPage = lazy(() =>
|
||||
import("@/pages/TmdbPreviewPage").then((m) => ({
|
||||
default: m.TmdbPreviewPage,
|
||||
})),
|
||||
);
|
||||
const TmdbCastsPage = lazy(() =>
|
||||
import("@/pages/TmdbCastsPage").then((m) => ({
|
||||
default: m.TmdbCastsPage,
|
||||
@@ -226,7 +221,7 @@ export const router = createRouter([
|
||||
path: "/entry/tmdb/:type/:tmdbId",
|
||||
element: (
|
||||
<SuspensePage fallback={<EntryDetailsSkeleton />}>
|
||||
<TmdbPreviewPage />
|
||||
<EntryDetailsPage />
|
||||
</SuspensePage>
|
||||
),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user