#Filter not removing item

1 messages Β· Page 1 of 1 (latest)

lone kernel
#

Using my collection, im trying to remove items that are being added by a list.

    Halloween Specials:

        template: {name: plex}
        schedule: range(9/24-11/02)
        url_poster: https://theposterdb.com/api/assets/111218

        imdb_list: 
            - https://www.imdb.com/list/ls576959061/ 
        trakt_list:
            #- https://trakt.tv/users/mjprza/lists/the-simpsons-treehouse-of-horror-halloween
            - https://trakt.tv/users/efreakiel/lists/halloween-tv-episodes?sort=title,asc
            - https://trakt.tv/users/philrivers/lists/halloween-tv-episodes?sort=title,asc  
            - https://trakt.tv/users/bunsduo/lists/halloween-tv?sort=rank,asc
            - https://trakt.tv/users/ashleyangel/lists/halloween-episodes?sort=rank,asc ##has twilight zone
            - https://trakt.tv/users/iiviioran/lists/halloween-tv-shows?sort=title,asc
            - https://trakt.tv/users/matpbb18/lists/tv-halloween-special?sort=rank,asc
            - https://trakt.tv/users/rjay2690/lists/halloween-tv-episodes?sort=title,asc
        plex_search:
            all:
                title.not: twilight
                any: 
                    episode_title: 
                        - halloween
                        - spooky
        filters: 
            - title.not: "The Twilight Zone"

cant figure out how to get the filter working

warm hemlockBOT
#

Welcome @lone kernel!

Thanks for being a Kometa Sponsor, we greatly appreciate it! Your ticket will now be diverted to <@&1097919568334311495> and <@&938443185347244033>.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

lone kernel
warm hemlockBOT
#

πŸ“ If you want to review this again, englandpj:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> πŸ“

#
**User Info**

Author of Linked Message: PJ
Person who Invoked the Command: Antwan
File Name: meta.log

Table of Contents:
Page 01: User Info
Page 02: Kometa Info
Page 03: Kometa Summary Info
Page 04: Kometa Config.yml YAML Validation βœ…
Page 05: Plex Configuration - Section 1
Page 06: Plex Configuration - Section 2
Page 07: Plex Configuration - Section 3
Page 08: Plex Configuration - Section 4
Page 09: Plex Configuration - Section 5
Page 10: Rec 01 - ❌ [ERROR]
Page 11: Rec 02 - ⚠️ [WARNING]
Page 12: Rec 03 - πŸ’¬ CONVERT WARNING
Page 13: Rec 04 - πŸ’¬ PRE KOMETA YAML

lone kernel
#

Collection Filter title.not: ['The Twilight Zone']

but then
156/181 | Halloween Specials Collection | + | The Twilight Zone S02E05: Season 2: The Howling Man

plain moth
#

Did you try show_title.not

lone kernel
#

Yeah. But the builder is episode level so it didnt work

plain moth
#

Then filtering the show probably isn’t possible @lone kernel

clear rain
#

@lone kernel i just added show_title as a filter option in nightly

lone kernel
lone kernel
plain moth
lone kernel
#

No, ill try that now. I just thought Sohjiro was saying it worked for a collection he had running on nightly

plain moth
lone kernel
#

ah... let me make a coffee then try attempt it. clearly half asleep

#

Version: 2.2.1-build36 (Docker: nightly)
still gave the warning
1 | Collection Warning: show_title.not attribute will run as title.not

warm hemlockBOT
#

πŸ“ If you want to review this again, englandpj:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> πŸ“

#
**User Info**

Author of Linked Message: PJ
Person who Invoked the Command: PJ
File Name: meta.log

Table of Contents:
Page 01: User Info
Page 02: Kometa Info
Page 03: Kometa Summary Info
Page 04: Kometa Config.yml YAML Validation βœ…
Page 05: Plex Configuration - Section 1
Page 06: Plex Configuration - Section 2
Page 07: Plex Configuration - Section 3
Page 08: Plex Configuration - Section 4
Page 09: Plex Configuration - Section 5
Page 10: Rec 01 - ❌ [ERROR]
Page 11: Rec 02 - ⚠️ [WARNING]
Page 12: Rec 03 - πŸ’¬ CONVERT WARNING
Page 13: Rec 04 - πŸ’¬ PRE KOMETA YAML

lone kernel
#

tried a forceupdate now just to check and the build version is the same

lone kernel
plain moth
#

@clear rain i have tried show_title.not and logs keep saying not valid and trying as title.not

lone kernel
#

glad it wasnt just me πŸ˜‚

lone kernel
#

any updates?

plain moth
lone kernel
plain moth
#

At least @clear rain is working on it I think

clear rain
#

I updated it in the sponsors branch but that doesn’t even have a PR yet

clear rain
#

@plain moth @lone kernel can one of you try again with the latest nightly

plain moth
#

@clear rain i get a rate exceeded error

swift hemlock
#

I was able to run the same list just fine

#
collections:
  Test 1:
    imdb_list:
      list_id: ls576959061
      limit: 0
      sort_by: rating.asc
    collection_order: custom
    sync_mode: sync
swift hemlock
#

I want to run the entire file

plain moth
#

@swift hemlock there is the file

#

i am running it without the imdb_list

#

@clear rain and @swift hemlock, with the rate issue at imdb aside, the collection did work and did create the holiday collection minus Simpsons as i had tested

lone kernel
#

running it now, so far looks like its working. it didnt throw an error in the log so far:

[2025-10-03 16:54:32,380] [builder.py:1006]           [DEBUG]    | Validating Method: plex_search                                                                     |
[2025-10-03 16:54:32,380] [builder.py:1007]           [DEBUG]    | Value: {'all': {'title.not': 'twilight', 'any': {'episode_title': ['halloween', 'spooky']}}}       |
[2025-10-03 16:54:32,380] [builder.py:1002]           [DEBUG]    |                                                                                                    |
[2025-10-03 16:54:32,380] [builder.py:1006]           [DEBUG]    | Validating Method: filters                                                                         |
[2025-10-03 16:54:32,380] [builder.py:1007]           [DEBUG]    | Value: [{'show_title.not': 'The Twilight Zone'}]    
vapid sonnetBOT
#

❌ YAML validation failed! YAML checked and is NOT valid.

Error message:

while scanning a block scalar
  in "<unicode string>", line 2, column 66:
     ... r.py:1006]           [DEBUG]    | Validating Method: plex_search ... 
                                         ^
expected a comment or a line break, but found 'V'
  in "<unicode string>", line 2, column 68:
     ... py:1006]           [DEBUG]    | Validating Method: plex_search   ... 
                                         ^
lone kernel
#

yeah looks like it works πŸ˜„ @clear rain @swift hemlock

#

im just confirming now that it works with lists though (ie. i have an imdb list with the episode in it, does the filter overwrite that list)

#

Worked* πŸ™‚ shows didnt get added and the filter overrides the imdb list

plain moth
grave wharfBOT
#

antwanchild used !aenh

@lone kernel, anything else needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.