1
0
Fork 0
mirror of https://github.com/realzombee/Sonarr.git synced 2026-06-02 07:33:14 -07:00
Sonarr fork with fixes for "infinite" setups https://sonarr.tv
  • C# 73.4%
  • JavaScript 13.3%
  • TypeScript 11.2%
  • CSS 1.5%
  • Shell 0.2%
  • Other 0.2%
Find a file
realzombee 7ad5e8bbc8 Revert "fix: Release action step"
This reverts commit 75c81e6aae.
2026-04-16 23:11:30 +01:00
.devcontainer Add dev container workspace 2024-04-15 20:23:13 -07:00
.github Revert "fix: Release action step" 2026-04-16 23:11:30 +01:00
.vscode Convert Utilities to TypeScript 2024-07-28 17:27:13 -07:00
distribution Fix typos and improve log messages 2024-08-11 08:48:33 -07:00
docker/tests Fixed disk permission tests 2020-11-21 22:30:33 +01:00
frontend Fixed: Prevent modals from overflowing screen width 2025-10-26 08:31:50 -07:00
Logo Update JetBrains logos 2024-10-26 14:21:06 -07:00
schemas add downloadvolumefactor and uploadvolumefactor torznab attributes (#1464) 2016-09-23 21:08:50 +02:00
src fix: Stop tracking downloads after import and removing from the download client 2026-04-15 22:03:55 +01:00
.editorconfig Ignore CA1825 2024-01-12 17:45:32 -08:00
.gitattributes New: Replaced launcher on OSX Catalina so that individual permissions can be assigned (note, will ignore permissions previously assigned to sh) 2020-06-07 17:42:46 +02:00
.gitignore Add 'qualitydefinition/limits' endpoint to get size limitations 2024-09-15 13:19:08 -04:00
.yarnrc Downgrade event-stream 2019-02-22 16:27:47 -08:00
build.sh Build and publish using GitHub actions 2024-01-11 16:31:45 -08:00
CLA.md Cleaned up project root. 2015-08-02 22:22:22 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md 2021-09-30 11:10:43 -07:00
COPYRIGHT.md Added License and Copyright file for completeness. 2017-07-27 22:04:57 +02:00
Dockerfile feat: Also build ARM64 docker image 2026-04-03 17:18:55 +02:00
docs.sh Ignore Grabbed from API docs 2024-06-10 20:30:26 -07:00
FUNDING.yml Add Open Collective Link 2020-10-04 15:43:53 -07:00
global.json Build and publish using GitHub actions 2024-01-11 16:31:45 -08:00
LICENSE.md Added License and Copyright file for completeness. 2017-07-27 22:04:57 +02:00
package.json Upgrade @typescript-eslint packages to 8.181.1 2024-12-16 20:57:48 -08:00
pnpm-lock.yaml Upgrade TypeScript and core-js 2024-12-14 18:51:10 -08:00
README.md fix: Stop tracking downloads after import and removing from the download client 2026-04-15 22:03:55 +01:00
SECURITY.md Added SECURITY.md 2022-11-18 22:05:34 -08:00
test.sh Build Sonarr on Net6 2022-08-07 15:04:46 -07:00
tsconfig.json Add typescript 2023-02-12 19:16:07 -08:00
yarn.lock Upgrade @typescript-eslint packages to 8.181.1 2024-12-16 20:57:48 -08:00

Sonarr Sonarr

Installation

This fork is designed to be a drop-in replacement for existing Sonarr docker installations. Simply replace your sonarr docker image with ghcr.io/realzombee/sonarr:develop

Sample docker compose:

sonarr:
    image: ghcr.io/realzombee/sonarr:develop
    container_name: sonarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      # Add env vars for any tweaks you want to enable
      - ACCEPT_RELEASE_ANY_UPGRADABLE=true
      - IGNORE_MATCH_BY_ID_WARNING=true
      - FIX_ANIME_SEASON_SEARCH=true
    volumes:
      - /path/to/sonarr/data:/config
      # Additional volume mounts for your media, etc
    ports:
      - 8989:8989
    restart: unless-stopped

Why this fork?

This fork aims to improve certain aspects of Sonarr to make it work better with remote "infinite" library setups (Debrid/Usenet streaming, etc). This fork will be kept up-to-date with the Sonarr develop branch and the changes in this fork are fully compatible with the original Sonarr configs so you can freely swap back and forth between them.

This fork provides two categories of changes:

Fixes

These are universal bug-fixes that should be fixed in the original Sonarr project. These will be submitted as pull requests eventually but might not make it into a general release until the v5 migration is complete.

  • ffprobe issues: There's a bug in VideoFileInfoReader that causes ffprobe to read the entire file during HDR analysis if the video stream is at a non-zero index. This is especially problematic for remote files since it uses bandwidth unnecessarily.
  • RefreshMonitoredDownloadsCommand: Tools like decypharr and nzbdav issue this command after processing a download. But when this command is issued through the API or through the UI, it has a Normal priority, causing a buildup of queue items if lots of searches are triggered at once.
  • Fix a bug where Sonarr silently ignores torrents that have been previously imported, deleted and then grabbed again. Without this, repairs from tools like decypharr don't work reliably.

Tweaks

These are small changes to Sonarr behavior to optimize for debrid/usenet streaming setups. These can be turned on through environment variables.

ACCEPT_RELEASE_ANY_UPGRADABLE

This setting allows Sonarr to download season packs even if it already has some episodes. Generally you should turn this on for debrid setups.

Sonarr does not download season packs if it does not result in an upgrade for ALL episodes in a season. This is a good choice for regular setups where downloads take a long time and downloading a season pack just to upgrade a single episode is not pragmatic. But with "infinite" setups, downloads take seconds. Furthermore, debrid services often expire certain files from a season pack and by default, sonarr doesn't download another season pack to replace it, which can result in Sonarr grabbing a lower quality single episode.

IGNORE_MATCH_BY_ID_WARNING

This setting turns off the warning

Found matching series via grab history, but release was matched to series by ID. Automatic import is not possible

This generally happens on usenet indexers that include a tvdbId in releases that sonarr uses to match against series while downloading. But during imports, if the files are obfuscated or the file/series name doesn't match up with sonarr's expectations, it blocks automatic import.

⚠️ Only use this setting if you trust your indexers to provide the correct tvdbIds when they're present on releases.

Sonarr's default anime season search is VERY slow since it also searches for each episode individually. This setting allows you to bypass that and just search by season, which most indexers support. This significantly improves the search experience for anime.

Contributing

Feel free to open issues or pull requests for any changes you'd like to see.