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

[Feature] 番剧元数据剧集和文件快速关联 #65

Closed
2 tasks done
li-guohao opened this issue Oct 28, 2022 · 3 comments
Closed
2 tasks done

[Feature] 番剧元数据剧集和文件快速关联 #65

li-guohao opened this issue Oct 28, 2022 · 3 comments
Assignees
Labels
feature New feature or request

Comments

@li-guohao
Copy link
Member

li-guohao commented Oct 28, 2022

Search before asking

  • 我已经在 issues 列表 里查询过,并且没找到类似的问题。

Description

番剧元数据剧集和文件快速关联,在番剧编辑页面,快速关联番剧的剧集文件URL,并保存番剧剧集信息。

Related issues

No response

Are you willing to submit a PR?

  • 是的我想要提交个PR!

Related pull requests

@li-guohao li-guohao added the feature New feature or request label Oct 28, 2022
@li-guohao li-guohao added this to the 1.0.0-SNAPSHOT milestone Oct 28, 2022
@li-guohao
Copy link
Member Author

li-guohao commented Oct 28, 2022

目前的预想方案:
番剧列表页面,点击番剧,转到资源匹配页面,使用表格展示番剧的剧集信息,
在番剧剧集行添加按钮,点击带上季度ID打开文件批量选择组件(表格),
条件查询出对应的所有文件,选中所有符合的文件,
带上所有的文件ID,和当前季度的ID,
请求后端进行批量匹配,
后端批量匹配可以解析文件信息,智能匹配到对应的剧集,比如根据S1E1这种,E1这种,或者单纯的 01这种。

@li-guohao
Copy link
Member Author

和Jellyfin的联动功能:
匹配好剧集文件的番剧,如果当前应用目录和Jellyfin的媒体目录是在一个文件系统下的,
可以通过完整的番剧信息,创建文件硬链接和按照jellyfin的格式生成对应的nfo文件

与复制文件不同的是,文件硬链接,只需要占用一份磁盘空间即可,具体可以参考:硬链接百度百科
而nfo文件通常非常的小,直接生成即可,
这样jellyfin可以直接读取对应的番剧信息

@li-guohao
Copy link
Member Author

目前的预想方案: 番剧列表页面,点击番剧,转到资源匹配页面,使用表格展示番剧的剧集信息, 在番剧剧集行添加按钮,点击带上季度ID打开文件批量选择组件(表格), 条件查询出对应的所有文件,选中所有符合的文件, 带上所有的文件ID,和当前季度的ID, 请求后端进行批量匹配, 后端批量匹配可以解析文件信息,智能匹配到对应的剧集,比如根据S1E1这种,E1这种,或者单纯的 01这种。

可以直接在番剧编辑页面的对应季度区域添加按钮,
点击按钮,则打开一个文件条件查询的对话框
根据文件标题查询出对应季度的文件,选中所有的文件,
带上文件ID和季度ID,请求后端进行匹配,后端批量匹配可以解析文件信息,智能匹配到对应的剧集,比如根据S1E1这种,E1这种,或者单纯的 01这种。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Done
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant