haijeploeg / excludarr

Excludarr manages your libraries in Radarr/Sonarr. It keeps track of your library and checks if your movies and series are also available on a configured streaming provider. It can exclude the movies and series that are available on a configured streaming provider. But it can also re-add movies and series if they are not streaming anymore.
MIT License
204 stars 12 forks source link

Excludarr is processing TV series indicated in SONARR_EXCLUDE env variable #86

Open andrefpina opened 1 year ago

andrefpina commented 1 year ago

Describe the bug Excludarr is not excluding TV series indicated in the SONARR_EXCLUDE environment variable from being processed. However, it works perfectly for movies indicated in the RADARR_EXCLUDE variable.

To Reproduce Steps to reproduce the behavior:

  1. docker compose -f excludarr.yml run excludarr --debug sonarr exclude -a delete -d -e --progress where the relevant part of excludarr.yml is:
    version: "3.6"
    services:
    excludarr:
    image: haijeploeg/excludarr
    container_name: excludarr
    environment:
      GENERAL_FAST_SEARCH: "true"
      GENERAL_LOCALE: "pt_PT"
      GENERAL_PROVIDERS: "Disney Plus, HBO Max, Amazon Prime Video"
      RADARR_URL: "https://*****.***/radarr"
      RADARR_API_KEY: "**************************"
      RADARR_VERIFY_SSL: "false"
      RADARR_EXCLUDE: '"The Lord of the Rings: The Fellowship of the Ring", "The Lord of the Rings: The Two Towers", "The Lord of the Rings: The Return of the King", "Avatar"'
      SONARR_URL: "https://*****.***/sonarr"
      SONARR_API_KEY: "**************************"
      SONARR_VERIFY_SSL: "false"
      SONARR_EXCLUDE: '"Andor", "The Mandalorian"'
      CRON_MODE: "false"
    volumes:
      - /home/admin/docker/excludarr/crontab:/etc/excludarr/crontab
    restart: unless-stopped

    I have tried using both array syntax and map syntax for the environment variables, as stated in Docker Docs, without success. I have also tried to run excludarr as docker run -it --rm --env-file excludarr.env haijeploeg/excludarr:latest sonarr exclude -a delete -d -e --progress having the environment variables in excludarr.env, but the problem persisted.

Expected behavior I would expect both "Andor" and "The Mandalorian" to be ignored.

Versions I'm using the latest Docker tag as of 2023-04-24.

Debug logging Excludarr debug log