Skip to content

优化 Sonarr 对资源的识别率,主要是针对动漫 | improve recognition rate of Sonarr, especially for anime

Notifications You must be signed in to change notification settings

manduted/jproxy

 
 

Repository files navigation

JProxy Logo

中文 | English

🐳 Introduce

improve recognition rate of Sonarr, especially for anime

Before 20220730164430

After 20220730164157

👻 Frame

graph LR
    1[Sonarr] == request Jackett / Prowlarr Torznab api ==> 2(JProxy) == proxy Sonarr request ==> 3(Jackett / Prowlarr) 

    3(Jackett / Prowlarr) == return ==> 2(JProxy) == return result after format ==> 1(Sonarr)
    
    2(JProxy) == replace search key ==> 2(JProxy)
    2(JProxy) == format result title ==> 2(JProxy)
Loading
  1. Proxy request to Jackett / Prowlarr of Sonarr
  2. Add search key replace rule, so that get more result
  3. Add result title format rule, so that Sonarr can recognize the season, episode and language info

❄️ Function

  1. Web UI: Chinese or English
  2. Proxy Config: Jackett / Prowlarr ip, port setting
  3. Add Rule: Include search and result rule
  4. Rule Manage: Search, edit, delete, share and import or export
  5. Rule Market: Search rules shared by others and download
  6. Rule Test: Add title list and check the result after format

20220730112546 20220730112620 20220730112640

😊 Install

🐳 Docker (Recommend)

docker-compose

version: "3"
services:
  jproxy:
    image: luckypuppy514/jproxy:latest
    container_name: jproxy
    environment:
      - TZ=Asia/Shanghai
      - "JAVA_OPTS=-Xms256m -Xmx256m"
    volumes:
      - /docker/jproxy/config:/app/config
    network_mode: host
    restart: unless-stopped

docker run

docker pull luckypuppy514/jproxy:latest
docker run --name jproxy \
-v /docker/jproxy/config:/app/config \
-e TZ=Asia/Shanghai \
-e "JAVA_OPTS=-Xms256m -Xmx256m" \
--net=host \
--restart unless-stopped \
-d luckypuppy514/jproxy:latest

🔥arm64v8: luckypuppy514/jproxy:arm64v8-latest

🪟 Linux / Windows

  1. Install jdk1.8
  2. Download latest version: linux.windows-version.zip
  3. Run startup script

Linux

nohup sh startup.sh &

Windows

startup.bat

☃️ Usage

1. Login

URL: http://ip:8117
USERNAME: jproxy
PASSWORD: jproxy@2022

20220730112814

2. Setting

Setting Jackett / Prowlarr and qBittorrent ip and port

20220805170054

3. Download Rules

Download rules from market or add new rule by yourself

20220730113032

4. Sonarr Setting

Modify indexer's ip and port to JProxy's ip, port and add path

# original
http://192.168.6.9:9117/api/v2.0/...
http://192.168.6.9:9696/...

# jackett
http://192.168.6.9:8117/jackett/api/v2.0/...
# prowlarr
http://192.168.6.9:8117/prowlarr/...

20220805174036

Modify qBittorrent's ip and port to JProxy's ip, port and add path

# original
Host: 192.168.6.9
Port: 8080
Url Base: 

# jproxy
Host: 192.168.6.9
Port: 8117
Url Base: /qbittorrent

20220804222930

🔥 don't forget change the Host of Remote Path Mappings 20220805192340

See Wiki For Detail

👏 Related Efforts

  • Sonarr — Smart PVR for newsgroup and bittorrent users
  • Jackett — API Support for your favorite torrent trackers
  • Prowlarr — Prowlarr is an indexer manager/proxy
  • Layuimini — Admin web template base on layui

😘 Contributing

Technology Stack

  • layuimini
  • thymeleaf
  • springboot
  • sqlite
  • mybatis-plus
  • knife4j
  • maven

Feel free to dive in!Open an issue or submit PRs.

🃏 License

MIT © LuckyPuppy514

About

优化 Sonarr 对资源的识别率,主要是针对动漫 | improve recognition rate of Sonarr, especially for anime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 46.9%
  • Java 18.3%
  • HTML 12.7%
  • SCSS 8.4%
  • Less 8.2%
  • CSS 5.3%
  • Other 0.2%