JakeWharton / qbt-orphaned-downloads

Maintains a tag on torrents whose files have no hardlinks outside the download directory
MIT License
17 stars 2 forks source link

ignored tags not working #12

Open p-hueber opened 7 months ago

p-hueber commented 7 months ago

For some reason, my list of ignored tags is ignored.

I set the QBT_IGNORE_TAGS environment variable to TV in my docker-compose.yaml:

qbt-orphaned-downloads:
  container_name: qbt-orphaned-downloads
  image: jakewharton/qbt-orphaned-downloads:1
  restart: unless-stopped
  volumes:
    - /Downloads/Movies:/downloads
  environment:
    - "QBT_HOST=http://qbittorrent:8088"
    - "QBT_IGNORE_TAGS=TV"
    - "DEBUG=true"
    - "CRON=0 * * * *"
  depends_on: [qbittorrent]

But this is ignored entirely and all my TV-tagged torrents end up with an additional "Orphaned" tag.

Here's one example from the debug log:

--- Monarch.Legacy.of.Monsters.S01E10.Beyond.Logic.1080p.ATVP.WEB-DL.DDP5.1.H.264-NTb.mkv ---
Tags: TV
State: TorrentStates.FORCED_UPLOAD
Monarch.Legacy.of.Monsters.S01E10.Beyond.Logic.1080p.ATVP.WEB-DL.DDP5.1.H.264-NTb.mkv Ignored (stats missing)
Orphaned? True
Tagging Monarch.Legacy.of.Monsters.S01E10.Beyond.Logic.1080p.ATVP.WEB-DL.DDP5.1.H.264-NTb.mkv

The "stats missing" error is expected and the very reason I want to ignore this torrent.

JakeWharton commented 7 months ago

Weird. I will try to take a look at some point, but I can't promise it'll be super soon.

JakeWharton commented 7 months ago

Also: I don't use this feature. That's probably why it's broken!