- 设置 → 媒体库与目录 → 存储:登记 Alist / OpenList(令牌 / 账号密码 / 访客、路径密码、限速与监控选项), 测试连接显示版本、用户与容量;媒体库目录可选存储 - 文件管理左栏多一组「Alist 存储」,路径显示「存储名:/路径」;移动 / 复制目标可选 Alist 存储; 上传按钮;Alist 根点刷新才让 Alist 刷新目录缓存 - 运行状态的挂载根列出存储实例(令牌失效单独提示) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
37 lines
1.2 KiB
TypeScript
37 lines
1.2 KiB
TypeScript
import { LibraryRootsTable } from "./instances.tsx";
|
|
import { NamingSection } from "./naming.tsx";
|
|
import { ClassificationSection, OrganizeSourcesSection } from "./organize-sources.tsx";
|
|
import { SettingsBlock } from "./settings-block.tsx";
|
|
import { StoragesTable } from "./storages.tsx";
|
|
|
|
// 媒体库与目录:存储(Alist / OpenList)、媒体库目录(含标记文件检查)、整理来源、分类规则、命名模板(全局 + 目录覆盖)。
|
|
// 整理方式与刮削在「整理与刮削」。
|
|
|
|
export function LibrarySection() {
|
|
return (
|
|
<div className="grid grid-cols-1 gap-8">
|
|
<SettingsBlock
|
|
section="library"
|
|
anchor="storages"
|
|
title="存储"
|
|
description="Alist / OpenList 网盘存储,登记后可作为媒体库目录、整理来源,并在文件管理里浏览。"
|
|
plain
|
|
>
|
|
<StoragesTable />
|
|
</SettingsBlock>
|
|
<SettingsBlock
|
|
section="library"
|
|
anchor="roots"
|
|
title="媒体库目录"
|
|
description="整理把作品放进这些目录;媒体服务器扫的也是它们。"
|
|
plain
|
|
>
|
|
<LibraryRootsTable />
|
|
</SettingsBlock>
|
|
<OrganizeSourcesSection />
|
|
<ClassificationSection />
|
|
<NamingSection />
|
|
</div>
|
|
);
|
|
}
|