Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望重命名增加分辨率的模版 #137

Closed
1 task done
manduted opened this issue Jan 11, 2025 · 1 comment
Closed
1 task done

希望重命名增加分辨率的模版 #137

manduted opened this issue Jan 11, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@manduted
Copy link

请勾选您确认过的前置条件

  • 我已经确认此功能还未实现

需求描述

大部分种子和文件名都包含有 1080p,720p分辨率的字样,虽然2160p的很少见,也有吧
现在重命名出来的,类似:百变的七仓同学.S01E01.mp4
虽然也挺好

希望能在 模版 ${title}.S${seasonFormat}E${episodeFormat}中新增一个 ${videoFormat}

好比:
${title}.S${seasonFormat}E${episodeFormat}.${videoFormat}
生成出来的是 百变的七仓同学.S01E01.1080p.mp4

${title}.S${seasonFormat}E${episodeFormat} ${videoFormat}
百变的七仓同学.S01E01 1080p.mp4

如果没有截取到分辨率的数据,直接返回为 空值,顶多就是 百变的七仓同学.S01E01..mp4或者 百变的七仓同学.S01E01 .mp4
多一个点和空格,我也不知道代码里的重命名是怎么组合的,[ 模版= 百变的七仓同学.S01E01 ]+[ 后缀= .mp4]组合的话,java应该也可以剔除[ 模版 ]首尾的 .-空格等特殊符号吧,这样就算${videoFormat} 是空值,组合出来也不会多出符号

实现思路

No response

附件

No response

@manduted manduted added the enhancement New feature or request label Jan 11, 2025
@wushuo894 wushuo894 mentioned this issue Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@wushuo894 @manduted and others