Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

824 B
Raw Blame
import type { Metadata } from "next";
import { headers } from "next/headers";
import { notFound } from "next/navigation";
import { Suspense } from "react";
import { EpisodeView } from "@/components/faceless/episode-view";
import { recordFor } from "@/server/records";

export const metadata: Metadata = { title: "Episode" };

async function Episode({ params }: { params: PageProps<"/faceless/[id]/[episode]">["params"] }) {
  const { id, episode } = await params;
  if (!recordFor({ kind: "episode", ids: [id, episode] }, await headers())) notFound();
  return <EpisodeView id={episode} backHref={`/faceless/${id}`} backLabel="Channel" />;
}

export default function Page({ params }: PageProps<"/faceless/[id]/[episode]">) {
  return (
    <Suspense fallback={null}>
      <Episode params={params} />
    </Suspense>
  );
}