refactor: remove collection title from video filename
创建合集子目录后,视频文件名不再重复包含合集标题。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -171,12 +171,12 @@ export class ParseModalComp implements VanComponent {
|
|||||||
? [
|
? [
|
||||||
info.page.part.trim(),
|
info.page.part.trim(),
|
||||||
`[${info.page.badge.trim()}]`,
|
`[${info.page.badge.trim()}]`,
|
||||||
`[${cardTitle.trim()}]`,
|
seasonTitle ? '' : `[${cardTitle.trim()}]`,
|
||||||
`[${videoFormatMap[info.info!.accept_quality[info.formatIndex.val]]}]`,
|
`[${videoFormatMap[info.info!.accept_quality[info.formatIndex.val]]}]`,
|
||||||
`[${formatSeconds(info.info!.dash.duration)}]`
|
`[${formatSeconds(info.info!.dash.duration)}]`
|
||||||
]
|
]
|
||||||
: [
|
: [
|
||||||
pagesLength == 1 ? workRoute.allSection.val[workRoute.sectionTabsActiveIndex.val].title : `[${cardTitle.trim()}]`,
|
pagesLength == 1 ? workRoute.allSection.val[workRoute.sectionTabsActiveIndex.val].title : (seasonTitle ? '' : `[${cardTitle.trim()}]`),
|
||||||
workRoute.sectionPages.val.length == 1 ? '' : `[${info.page.badge.trim()}]`,
|
workRoute.sectionPages.val.length == 1 ? '' : `[${info.page.badge.trim()}]`,
|
||||||
info.page.part.trim(),
|
info.page.part.trim(),
|
||||||
isVideoMode ? `[${owner}]` : '',
|
isVideoMode ? `[${owner}]` : '',
|
||||||
|
|||||||
Reference in New Issue
Block a user