ChineseSubFinder icon indicating copy to clipboard operation
ChineseSubFinder copied to clipboard

Sonarr API对接

Open zx900930 opened this issue 3 years ago • 4 comments

你使用的 chinesesubfinder 是什么版本,什么环境?

chinesesubfinder 版本: v0.30.1

环境: docker

你想要新增或者改进什么功能?

增加sonarr api对接, 这样无论你用的media server是jellyfin emby 还是plex 都无所谓了

这个功能有什么可以参考的资料吗?

https://github.com/morpheus65535/bazarr https://github.com/morpheus65535/bazarr/blob/master/bazarr/get_series.py

zx900930 avatar Jun 05 '22 08:06 zx900930

已经有 http api ,可以自行触发自动化字幕下载逻辑

https://github.com/allanpk716/ChineseSubFinder/tree/docs/DesignFile/ApiKey%E8%AE%BE%E8%AE%A1

https://github.com/allanpk716/ChineseSubFinder/issues/336

allanpk716 avatar Jun 05 '22 10:06 allanpk716

已经有 http api ,可以自行触发自动化字幕下载逻辑

https://github.com/allanpk716/ChineseSubFinder/tree/docs/DesignFile/ApiKey%E8%AE%BE%E8%AE%A1

#336

看了一下, 还是直接接入sonarr比较好, 可以通过api直接返回重命名并导入到media server后的路径 接入qbittorrent的话, api返回的是qb下载路径, 会有下面2种情况: 做种期间 - 视频文件在下载路径 - sonarr通过硬链接将视频文件链接至media server的路径 - 此时在下载路径的字幕文件无法被导入 做种完毕 - 视频文件被重命名并转移至media server的路径 - 此时在原下载路径的字幕文件也是无效的

我有时间自己写一下

zx900930 avatar Jun 05 '22 10:06 zx900930

写好了记得分享下,很多外围的功能估计没有精力去做,等你们来补一下。

allanpk716 avatar Jun 09 '22 11:06 allanpk716