Skip to content

[自荐]EmbyRename:一键把alist挂载网盘“自动批量重命名”整理成 Emby标准结构格式(带AI辅助和 Web 实时面板) #9396

@KingStoning

Description

@KingStoning

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

GitHub地址: KingStoning/alistrename-toemby: EmbyRename:一键把网盘影视库“刮削级”整理成 Emby/Plex 标准结构(带 Ai辅助和Web 实时面板)

开发起因:

我用alist(oplist)挂载了OneDrive来弄Emby,需要批量重命名来符合Emby刮削,之前从夸克上传到OneDrive的文件内容都是杂乱无章的,没法正确识别

alist/oplist 虽然支持 正则重命名,但是挨个处理浪费时间;网络上面的项目大多是115网盘,而没有其它的网盘,虽然其它的网盘有网页脚本支持重命名,但还是需要挨个处理,太浪费时间

为了解决我在找很多办法,找到了一些其它的项目,但是往往不如意,有个GitHub让我眼前一新,可以用python手动修改,但是在大量的文件夹面前,太耗费时间了(尽管识别率更高)

所以我想到能不能自己用AI来写一个python,由此alistrename-toemby诞生了,中间改版了很多次,用了很长的时间,总有有了这个较为满意的版本

我在 .env 里面加入了AI接口,可以当复杂的文件夹名字无法识别的时候,让AI选择最符合答案的剧名,然后搜索TMDB;当TMDB结果很多时,让AI自动选择最符合可能性的ID来刮削

中间,我已经批量,运行了,保证正常运行,识别成功率在95%以上(默认不处理综艺和电影)

同时为了持续运行,默认指令,支持后台运行,及时关闭ssh也能持续运行

./embyrename daemon

目前还是有一些问题,欢迎大家到评论区下面或者GitHub上反馈情况,持续改进

这样有了更多的情况,就能更好的识别,提高正确率

希望大家,先测试在env里面添加一个临时目录,放上一些剧,测试一下识别,注意不要添加电影和综艺哈

Image

Suggested solution / 实现思路

No response

Additional context / 附件

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions