Skip to content

Inconsistent / unexpected behaviour with custom collections #2878

@Sc0ttmeup

Description

@Sc0ttmeup

Describe the bug

  • Items not being removed from collections with 0 positive matches
  • Collections labelled manual

To Reproduce
Steps to reproduce the behavior:

  1. In Jellyfin: create a collection
  2. In Maintainerr: Create a few rules with different types of positive matches. Use the same custom collection that was created in step 1 for every rule.
  3. Run the rules
  4. Change any / all rules so that there are less / no positive matches
  5. Run the modified rules

Expected behavior
Items are removed from the collection(s?)

Screenshots
Image

Image Image Image

Device (please complete the following information):

  • OS: Docker (Debian 12)
  • Version: 3.11.0
  • Server: Jellyfin

Debug logs


11:39:35INFOStarting execution of rule 'Do Not Delete - Episodes'
11:53:33INFOExecution of rules for 'Do Not Delete - Episodes' done.
11:53:38INFOSynced collection 'Leaving Soon' with media server
11:53:38INFOStarting execution of rule 'Do Not Delete - Movies'
11:53:38INFOExecuting rules for 'Do Not Delete - Movies'
11:54:43INFOExecution of rules for 'Do Not Delete - Movies' done.
11:54:48INFOSynced collection 'Leaving Soon' with media server
12:00:00INFOStarted handling of all collections
12:00:00INFOSkipping collection 'Do Not Delete - Episodes' as its action is 'Do Nothing'
12:00:00INFOSkipping collection 'Do Not Delete - Movies' as its action is 'Do Nothing'
12:00:00INFOCollection handler summary: 2 total (isActive), 2 skipped (Do Nothing), 0 skipped (no due media), 0 queued for handling
12:00:00INFOAll collections handled. No data was altered
12:00:00INFOUpdating collection size cache...
12:15:36INFOCollection size cache updated

Additional context
These are the only rules enabled when the screenshots were taken:

mediaType: EPISODES
rules:
  - "0":
      - firstValue: Jellyfin.sw_amountOfViews
        action: EQUALS
        customValue:
          type: number
          value: -1

 
mediaType: MOVIES
rules:
  - "0":
      - firstValue: Jellyfin.viewCount
        action: EQUALS
        customValue:
          type: number
          value: -1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions