Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cat in Config does not respect fuzzy matching #695

Open
bakerboy448 opened this issue Nov 21, 2024 · 0 comments
Open

[Bug]: Cat in Config does not respect fuzzy matching #695

bakerboy448 opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bakerboy448
Copy link
Collaborator

Describe the Bug

cat:
  # <Category Name> : <save_path> # Path of your save directory. Can be a keyword or full path
  audiobooks: /mnt/data/torrents/audiobooks
  books: /mnt/data/torrents/books
  movies: /mnt/data/torrents/movies
  movies4k: /mnt/data/torrents/movies4k
  prowlarr: /mnt/data/torrents/prowlarr
  tv: /mnt/data/torrents/tv
  tv4k: /mnt/data/torrents/tv4k
  seeds-audiobooks: /mnt/data/torrents/seeds-audiobooks
  seeds-books: /mnt/data/torrents/seeds-books
  seeds-movies: /mnt/data/torrents/seeds-movies
  seeds-movies4k: /mnt/data/torrents/seeds-movies4k
  seeds-tv: /mnt/data/torrents/seeds-tv
  seeds-tv4k: /mnt/data/torrents/seeds-tv4k
  seeds-movies.cross-seed: /mnt/data/torrents/seeds-movies
  seeds-movies4k.cross-seed: /mnt/data/torrents/seeds-movies4k
  seeds-tv.cross-seed: /mnt/data/torrents/seeds-tv
  seeds-tv4k.cross-seed: /mnt/data/torrents/seeds-tv4k
  movies.cross-seed: /mnt/data/torrents/seeds-movies
  movies4k.cross-seed: /mnt/data/torrents/seeds-movies4k
  tv.cross-seed: /mnt/data/torrents/seeds-tv
  seeds: /mnt/data/torrents/seeds/
  seeds-data: seeds-data

expected that seeds-data matches any torrents with path like seeds-data
however this does not work instead it adds every save path as a cat

cat:
  # <Category Name> : <save_path> # Path of your save directory. Can be a keyword or full path
  audiobooks: /mnt/data/torrents/audiobooks
  books: /mnt/data/torrents/books
  movies: /mnt/data/torrents/movies
  movies4k: /mnt/data/torrents/movies4k
  prowlarr: /mnt/data/torrents/prowlarr
  tv: /mnt/data/torrents/tv
  tv4k: /mnt/data/torrents/tv4k
  seeds-audiobooks: /mnt/data/torrents/seeds-audiobooks
  seeds-books: /mnt/data/torrents/seeds-books
  seeds-movies: /mnt/data/torrents/seeds-movies
  seeds-movies4k: /mnt/data/torrents/seeds-movies4k
  seeds-tv: /mnt/data/torrents/seeds-tv
  seeds-tv4k: /mnt/data/torrents/seeds-tv4k
  seeds-movies.cross-seed: /mnt/data/torrents/seeds-movies
  seeds-movies4k.cross-seed: /mnt/data/torrents/seeds-movies4k
  seeds-tv.cross-seed: /mnt/data/torrents/seeds-tv
  seeds-tv4k.cross-seed: /mnt/data/torrents/seeds-tv4k
  movies.cross-seed: /mnt/data/torrents/seeds-movies
  movies4k.cross-seed: /mnt/data/torrents/seeds-movies4k
  tv.cross-seed: /mnt/data/torrents/seeds-tv
  seeds: /mnt/data/torrents/seeds/
  seeds-data: seeds-data
  PrivateHD: /mnt/data/torrents/seeds-data/PrivateHD/
  BroadcastheNet: /mnt/data/torrents/seeds-data/BroadcastheNet/

note that
PrivateHD: /mnt/data/torrents/seeds-data/PrivateHD/
BroadcastheNet: /mnt/data/torrents/seeds-data/BroadcastheNet/

were added

additonally it is impossible to ignore more than 1 path with the Uncategorized keyword as all keys must be distinct

Config

https://logs.notifiarr.com/?35bc79bc57beb353#GpbkEWwdrdHMdtCPWmSi8PTEJKPqEtcykb6n8wAytWep

Logs

N/A

Screenshots

No response

Installation

Nix

Version Number

4.1.14-develop2

What branch are you on?

develop

@bakerboy448 bakerboy448 added the bug Something isn't working label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants