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]: Multiple share limit tags applied #546

Closed
ineednewpajamas opened this issue May 9, 2024 · 3 comments · Fixed by #553
Closed

[Bug]: Multiple share limit tags applied #546

ineednewpajamas opened this issue May 9, 2024 · 3 comments · Fixed by #553
Assignees
Labels
bug Something isn't working status:added-to-develop Feature Request or Bug Fix is in Develop

Comments

@ineednewpajamas
Copy link
Contributor

ineednewpajamas commented May 9, 2024

Describe the Bug

Since 4.1.3 (at least I didn't notice it before), some torrents are getting tagged with multiple share_limit tags. For example both "~share_limit_2.noHL" and "~share_limit_999.default". I don't have concrete proof but my guess is that it's torrents that have switched between either having or not having hard links since I updated to 4.1.3.

Example to find in the logs The.Daily.Show.2024.05.07.Lexi.Freiman.1080p.WEB.h264-EDITH[EZTVx.to].mkv[eztvx.to].

Config

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

qbt:
  host: qbittorrent:8080
  user:
  pass:

settings:
  force_auto_tmm: false
  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
  
directory:
  cross_seed:
  root_dir: /data/torrents/
  remote_dir: /data/torrents/
  recycle_bin: /data/torrents/.RecycleBin
  torrents_dir: /qbittorrent/data/BT_backup
  orphaned_dir: /data/torrents/orphaned_data

cat:
  movies: /data/torrents/movies
  tv: /data/torrents/tv
  audiobooks: /data/torrents/audiobooks
  books: /data/torrents/books
  manual: /data/torrents/manual
  music: /data/torrents/music
  prowlarr: /data/torrents/prowlarr

cat_change:

tracker:
  myanonamouse:
    tag: MaM
  other:
    tag: other

nohardlinks:
  # books: # Calibre doesn't hard link
  #   exclude_tags:
  #     - MaM
  audiobooks:
    exclude_tags:
      - MaM
  movies:
  tv:
  manual:
  music:
  prowlarr:

share_limits:
  MaM:
    priority: 1
    include_all_tags:
      - MaM
    max_ratio: -1
    max_seeding_time: -1
    cleanup: false
  noHL:
    priority: 2
    include_all_tags:
      - noHL
    max_ratio: 1
    max_seeding_time: -1
    min_num_seeds: 5
    cleanup: false
  default:
    priority: 999
    max_ratio: 2
    max_seeding_time: -1
    min_num_seeds: 10
    cleanup: false

recyclebin:
  enabled: true
  empty_after_x_days: 60
  save_torrents: true
  split_by_category: true

orphaned:
  empty_after_x_days: 60
  exclude_patterns:

webhooks:
  error:
  run_start:
  run_end:
  function:
    cross_seed:
    recheck:
    cat_update:
    tag_update:
    rem_unregistered:
    tag_tracker_error:
    rem_orphaned:
    tag_nohardlinks:
    share_limits:
    cleanup_dirs:

Logs

https://gist.github.com/ineednewpajamas/d70a3cc3bd22eb31baa5828183b8ce83

Screenshots

Screen Shot 2024-05-08 at 8 22 38 PM

Installation

Docker

Version Number

4.1.3

What branch are you on?

master

@ineednewpajamas ineednewpajamas added the bug Something isn't working label May 9, 2024
@bakerboy448
Copy link
Collaborator

is that it's torrents that have switched between either having or not having hard links since I updated to 4.1.3

confirmed from provided logs for the torrent you mentioned

torrent is tagged as noHL and according share limit group
Then is hardlinked
Then tagged as not noHL and has that group added but the old group's tag remains (per screenshot)

PS thanks for the torrent name to search and logs covering the initial tag and second tag, wish all bug reports can cover detail up front like this

bobokun added a commit that referenced this issue May 9, 2024
@bobokun bobokun added the status:added-to-develop Feature Request or Bug Fix is in Develop label May 9, 2024
@bobokun
Copy link
Collaborator

bobokun commented May 9, 2024

@ineednewpajamas should be fixed on the latest develop branch.

@ineednewpajamas
Copy link
Contributor Author

Looks good using develop5. Thank you.

@bobokun bobokun mentioned this issue May 18, 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 status:added-to-develop Feature Request or Bug Fix is in Develop
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants