import { StrmAttachSection } from './StrmAttachSection' import { StrmGenerateSection } from './StrmGenerateSection' import { StrmImportSection } from './StrmImportSection' import { StrmPageHeader } from './StrmPageHeader' import { useStrmPage } from './useStrmPage' // StrmPage exposes the URL-as-file admin tooling backed by the Go server: // - import a brand-new media row directly from a (library, title, url) // tuple — useful for streaming-only entries with no on-disk file. // - search existing media and attach / detach a STRM URL so the player // issues a 302 redirect to the remote source instead of opening a // local file. export function StrmPage() { const strm = useStrmPage() return (