StuffAnThings / qbit_manage

This tool will help manage tedious tasks in qBittorrent and automate them. Tag, categorize, remove Orphaned data, remove unregistered torrents and much much more.
MIT License
766 stars 47 forks source link

[FR]: Including/Exclude certain categories from being updating when running cat-update #679

Closed mat926 closed 2 hours ago

mat926 commented 2 hours ago

Is your feature request related to a problem? Please elaborate.

In Radarr I set up a category (movies) and post-import category (movies.seeding) , so any torrents that get imported will be moved into the movies.seeding category. I also set up cross-seed to enable duplicateCategories so everytime it finds a torrent it will append '.cross-seed' to the category , i.e "movies.cross-seed" . Sometimes it will find matches for torrents that are in the "movies.seeding" category, so the category becomes "movies.seeding.cross-seed". I would like to move these torrents to the "movies.cross-seed" category. The problem is when I run the cat-update command it will change all the torrents (even with the ones with existing categories) to "movies".

Describe the solution you'd like

I would like to be able to only include/exclude certain categories from being updated.

Does your solution involve any of the following?

Describe alternatives you've considered

I tried setting cat_update_all to false , but it just updates the torrents that don't have a category. That wouldn't work for me since the torrents I have already have an existing category.

Who will this benefit?

Cross-seed & Radarr users using post-import category

Additional Information

Config:


commands:
  dry_run: true
  cross_seed: false 
  recheck: true
  cat_update: true
  tag_update: true
  rem_unregistered: true
  tag_tracker_error: true
  rem_orphaned: true
  tag_nohardlinks: true
  share_limits: true
  skip_cleanup: false 
  skip_qb_version_check: false

qbt:
  # qBittorrent parameters
  host: http://192.168.0.143:8090
  user: ***
  pass: ***

settings:

  force_auto_tmm: false 
  force_auto_tmm_ignore_tags: 
  - cross-seed
  - Upload
  tracker_error_tag: issue 
  nohardlinks_tag: noHL
  share_limits_tag: ~share_limit 
  share_limits_min_seeding_time_tag: MinSeedTimeNotReached 
  share_limits_min_num_seeds_tag: MinSeedsNotMet 
  share_limits_last_active_tag: LastActiveLimitNotReached
  cross_seed_tag: cross-seed
  cat_filter_completed: true
  share_limits_filter_completed: true 
  tag_nohardlinks_filter_completed: true
  cat_update_all: true 
  disable_qbt_default_share_limits: true 

directory:
  root_dir: /data/torrents/
  torrents_dir: /qbittorrent/data/BT_backup
  orphaned_dir: /data/torrents/orphaned_data
  remote_dir: /data/torrents/
  cross_seed: /data/torrents/cross-seed
  recycle_bin: /data/torrents/.RecycleBin
cat:
  movies: /data/torrents/movies
  tv: /data/torrents/tv
  music: /data/torrents/music
  porn: /data/torrents/porn
  games: /data/torrents/games
  other: /data/torrents/other
  cross-seed-linked: /data/torrents/cross-seed-linked/

cat_change:
  movies.seeding.cross-seed: movies.cross-seed

tracker:
  alpharatio.cc:
    tag: AlphaRatio
    notifiarr: AlphaRatio
  tracker.anthelion.me:
    tag: Anthelion
    notifiarr: Anthelion
  eiga.moi:
    tag: AsianCinema
    notifiarr: asiancinema
  asiandvdclub:
    tag: AsianDVDClub
    notifiarr: asiandvdclub
  avistaz:
    tag: AvistaZ
    notifiarr: avistaz
  cinemaz:
    tag: CinemaZ
    notifiarr: cinemaz
  inferno.demonoid.is:
    tag: Demonoid
    notifiarr: demonoid
  exoticaz:
    tag: ExoticaZ
    notifiarr: exoticaz
  fearnopeer:
    tag: FearNoPeer
    notifiarr: feernopeer
  fappaizuri:
    tag: Fappaizuri
    notifiarr: Fappaizuri
  happyfappy:
    tag: HappyFappy
    notifiarr: happyfappy
  hdts-announce:
    tag: HD-Torrents
    notifiarr: hd-torrents
  itatorrents:
    tag: ItaTorrents
    notifiarr: ItaTorrents
  myanonamouse:
    cat: other
    tag: MaM
  nebulance.io:
    tag: Nebulance
  opsfet:
    tag: Orpheus
    cat: music
  oldtoons:
    tag: OldToons
    notifiarr: OldToons
  flacsfor.me:
    tag: Redacted
    cat: music
  tracker.gazellegames.net:
    tag: GazelleGames
    notifiarr: GazelleGames
  plab:
    tag: PornoLab
  privatehd:
    tag: PrivateHD
    notifiarr: PrivateHD
  thegeeks:
    tag: TheGeeks
    cat: other
  t-ru:
    tag: RuTracker
  secret-cinema:
    tag: SecretCinema
    notifiarr: SecretCinema
  torrentleech|tleechreload:
    tag: TorrentLeech
    notifiarr: torrentleech
  upload.cx:
    tag: Upload.cx
    notifiarr: Upload.cx
  uhdbits.org:
    tag: UHDBits
    notifiarr: UHDBits
  other:
    tag: other-tracker

nohardlinks:
- tv:
    exclude_tags:
    - todelete
    - cross-seed
- porn:
    exclude_tags:
    - todelete
    - cross-seed
- movies:
    exclude_tags:
    - todelete
    - cross-seed
- movies.seeding: #expirimenting - post import category set by radarr
    exclude_tags:
    - todelete
- tv.seeding: #expirimenting  - post import category et by sonarr
    exclude_tags:
    - todelete

share_limits:
  publicTracker:
    priority: 999
    include_all_tags:
    - other-tracker
    categories:
    - movies.seeding
    limit_upload_speed: 100
    max_seeding_time: 1d
    cleanup: true #since radarr doesn't delete completed torrents from post-import category, this deletes it instead

recyclebin:
  empty_after_x_days: 60
  save_torrents: true
  split_by_category: true

orphaned:
  exclude_patterns:
  - '**/.DS_Store'
  - '**/Thumbs.db'
  - '**/@eaDir'
  - '**/*.!qB'
  - '**/*_unpackerred'
  - /data/torrents/cross-seed/**
bakerboy448 commented 2 hours ago

Configuration issue. Please use Discord for support. Appears you've failed to properly configure all categories as is REQUIRED

CrossSeed v6 is in RC and no longer supports nor uses the duplicate category functionality thus there's little need for this going forward anyway.