LuckyPuppy514 / jproxy

介于 Sonarr / Radarr 和 Jackett / Prowlarr 之间的代理,主要用于优化查询和提升识别率 | A proxy between Sonarr / Radarr and Jackett / Prowlarr, mainly used to optimize search and improve recognition rate
MIT License
241 stars 28 forks source link

Sonarr 无法识别合作发布组 #114

Open ZoftTy opened 1 month ago

ZoftTy commented 1 month ago

原始标题

[极影字幕社&VCB-Studio] Plastic Memories/可塑性记忆 10bit 1080p HEVC BDRip [Fin]

https://www.comicat.org/show-e875cf4525974c4f6e043adbe5d19f68a93f828e.html

建议附上原始种子页面的链接

剧集规则

原来处理合作发布组的规则中没有 极影字幕社&VCB-Studio 这个的处理,重新添加了一条剧集规则

[
    {
        "id": "4E5F2FADE1634AB3B3EEDD9F38009510",
        "token": "group",
        "priority": 1000,
        "regex": ".*(Mabors&VCB-Studio|幻之字幕组&VCB-Studio|喵萌奶茶屋&VCB-Studio|极影字幕社&VCB-Studio).*",
        "replacement": "[-$1]",
        "offset": 0,
        "example": "xxx喵萌奶茶屋&VCB-Studioxxx",
        "remark": "VCB-Studio 合作字幕组",
        "author": "LuckyPuppy514-NoSync",
        "validStatus": 1,
        "createTime": "2024-08-06 19:47:54",
        "updateTime": "2024-08-06 19:53:01"
    }
]

转换后标题

Plastic Memories S1 [1080P][BDRip][-极影字幕社&VCB-Studio]

问题描述

发布组识别不正确

image

可以识别的标题

[极影字幕社&VCB-Studio] Plastic Memories S1 [1080P][BDRip]

可以识别的标题图片

版本信息

sonarr: 4.0.8.1874 jproxy: 3.4.4 prowlarr: 1.21.2.4649

ZoftTy commented 1 month ago

@LuckyPuppy514

ZoftTy commented 1 month ago

看了看源代码才发现有可以配置 {group} 位置的地方(

使用如下配置将 {group} 放置在标题开头

基础配置 -> Sonarr -> 索引器格式

{group} {title} {season}{episode} {language}{subtitle}{resolution}{quality}{dynamic_range}

放置 {group} 在开头应该不需要剧集规则 {group} 标记替换内容 [-$1] 中的 - 横杠。

效果:

image

不知道为什么 sonarr 无法识别 {group} 在后面时,当 group 中存在中文时,发布组识别失败的问题

image

英文发布组

image

存在 & 符号时会被截断。

image

存在 & 并且存在中文会无法识别发布组。

image

或许我应该去给 Sonarr 提 Issues。