修复无法保存更多推荐数据源

This commit is contained in:
mtvpls
2026-01-07 20:01:18 +08:00
parent 71da826b69
commit b61db02478
6 changed files with 44 additions and 2 deletions

View File

@@ -1,3 +1,20 @@
## [206.2.0] - 2026-01-07
### Added
- 轮播图数据源增加豆瓣
- 弹幕开关状态持久化
- play页面新增复制视频链接
### Changed
- 搜索聚合规则增强
- emby剧集弹幕匹配优化
- 搜索来源筛选提升私人影库权重
- 私人影库未配置openlist时自动跳转emby
- 优化弹幕加载逻辑
### Fixed
- 修复私人影库报错导致搜索无结果
- 修复无法保存更多推荐数据源
## [206.1.0] - 2026-01-05
### Added
- 新增手动上传弹幕功能

View File

@@ -1 +1 @@
206.1.0
206.2.0

View File

@@ -6096,6 +6096,7 @@ const SiteConfigComponent = ({
TMDBApiKey: config.SiteConfig.TMDBApiKey || '',
TMDBProxy: config.SiteConfig.TMDBProxy || '',
BannerDataSource: config.SiteConfig.BannerDataSource || 'Douban',
RecommendationDataSource: config.SiteConfig.RecommendationDataSource || 'Mixed',
PansouApiUrl: config.SiteConfig.PansouApiUrl || '',
PansouUsername: config.SiteConfig.PansouUsername || '',
PansouPassword: config.SiteConfig.PansouPassword || '',

View File

@@ -44,6 +44,7 @@ export async function POST(request: NextRequest) {
TMDBApiKey,
TMDBProxy,
BannerDataSource,
RecommendationDataSource,
PansouApiUrl,
PansouUsername,
PansouPassword,
@@ -82,6 +83,7 @@ export async function POST(request: NextRequest) {
TMDBApiKey?: string;
TMDBProxy?: string;
BannerDataSource?: string;
RecommendationDataSource?: string;
PansouApiUrl?: string;
PansouUsername?: string;
PansouPassword?: string;
@@ -123,6 +125,7 @@ export async function POST(request: NextRequest) {
(TMDBApiKey !== undefined && typeof TMDBApiKey !== 'string') ||
(TMDBProxy !== undefined && typeof TMDBProxy !== 'string') ||
(BannerDataSource !== undefined && typeof BannerDataSource !== 'string') ||
(RecommendationDataSource !== undefined && typeof RecommendationDataSource !== 'string') ||
typeof EnableComments !== 'boolean' ||
(CustomAdFilterCode !== undefined && typeof CustomAdFilterCode !== 'string') ||
(CustomAdFilterVersion !== undefined && typeof CustomAdFilterVersion !== 'number') ||
@@ -173,6 +176,7 @@ export async function POST(request: NextRequest) {
TMDBApiKey,
TMDBProxy,
BannerDataSource,
RecommendationDataSource,
PansouApiUrl,
PansouUsername,
PansouPassword,

View File

@@ -11,6 +11,26 @@ export interface ChangelogEntry {
export const changelog: ChangelogEntry[] = [
{
version: '206.2.0',
date: '2026-01-07',
added: [
"轮播图数据源增加豆瓣",
"弹幕开关状态持久化",
"play页面新增复制视频链接"
],
changed: [
"搜索聚合规则增强",
"emby剧集弹幕匹配优化",
"搜索来源筛选提升私人影库权重",
"私人影库未配置openlist时自动跳转emby",
"优化弹幕加载逻辑"
],
fixed: [
"修复私人影库报错导致搜索无结果",
"修复无法保存更多推荐数据源"
]
},
{
version: '206.1.0',
date: '2026-01-05',
added: [

View File

@@ -1,6 +1,6 @@
/* eslint-disable no-console */
const CURRENT_VERSION = '206.1.0';
const CURRENT_VERSION = '206.2.0';
// 导出当前版本号供其他地方使用
export { CURRENT_VERSION };