#YAML Error: collections or dynamic_collections attribute is required

1 messages · Page 1 of 1 (latest)

sour kelp
#

I am getting the following error for this collection:
[2025-09-24 03:00:09,295] [library.py:159] [ERROR] | YAML Error: collections or dynamic_collections attribute is required
[2025-09-24 03:00:09,295] [library.py:160] [INFO] | Collection File Failed To Load

valid oliveBOT
#

📝 If you want to review this again, matrix_has_u:
: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> 📝

#

Welcome @sour kelp!

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.

valid oliveBOT
#
**User Info**

Author of Linked Message: Matrix
Person who Invoked the Command: Matrix
File Name: meta4.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: Rec 01 - ❌ [ERROR]
Page 09: Rec 02 - ❌ OVERLAY IMAGE MISSING ERROR
Page 10: Rec 03 - ❌⏰ KOMETA SCHEDULED TIME CONFLICT
Page 11: Rec 04 - ⚠️ [WARNING]
Page 12: Rec 05 - ⚠️ NO ITEMS FOUND IN PLEX
Page 13: Rec 06 - ⚠️ PLEX REGEX ERROR
Page 14: Rec 07 - 💬 CONVERT WARNING

sour kelp
#

Not sure what I am missing in the US streaming section.

tidal fern
#

You're loading two copies of the streaming default. The first one is going to create these 18 collections:

| Keys (Title):
|   - channel4 (Channel 4)
|   - appletv (Apple TV+)
|   - bet (BET+)
|   - crave (Crave)
|   - crunchyroll (Crunchyroll)
|   - discovery (discovery+)
|   - disney (Disney+)
|   - itvx (ITVX)
|   - hbomax (HBO Max)
|   - hayu
|   - hulu (Hulu)
|   - netflix (Netflix)
|   - now (NOW)
|   - paramount (Paramount+)
|   - peacock (Peacock)
|   - amazon (Prime Video)
|   - youtube (YouTube)
|   - tubi

The second one is going to create the same 18, which all get flagged as duplicates:

| Keys (Title):
|   - channel4 (Channel 4)
|   - appletv (Apple TV+)
|   - bet (BET+)
|   - crave (Crave)
|   - crunchyroll (Crunchyroll)
|   - discovery (discovery+)
|   - disney (Disney+)
|   - itvx (ITVX)
|   - hbomax (HBO Max)
|   - hayu
|   - hulu (Hulu)
|   - netflix (Netflix)
|   - now (NOW)
|   - paramount (Paramount+)
|   - peacock (Peacock)
|   - amazon (Prime Video)
|   - youtube (YouTube)
|   - tubi
| Config Warning: Skipping duplicate collection: Channel 4 Shows
| Config Warning: Skipping duplicate collection: Apple TV+ Shows
| Config Warning: Skipping duplicate collection: BET+ Shows
| Config Warning: Skipping duplicate collection: Crave Shows
| Config Warning: Skipping duplicate collection: Crunchyroll Shows
| Config Warning: Skipping duplicate collection: discovery+ Shows
| Config Warning: Skipping duplicate collection: Disney+ Shows
| Config Warning: Skipping duplicate collection: ITVX Shows
| Config Warning: Skipping duplicate collection: HBO Max Shows
| Config Warning: Skipping duplicate collection: hayu Shows
| Config Warning: Skipping duplicate collection: Hulu Shows
| Config Warning: Skipping duplicate collection: Netflix Shows
| Config Warning: Skipping duplicate collection: NOW Shows
| Config Warning: Skipping duplicate collection: Paramount+ Shows
| Config Warning: Skipping duplicate collection: Peacock Shows
| Config Warning: Skipping duplicate collection: Prime Video Shows
| Config Warning: Skipping duplicate collection: YouTube Shows
| Config Warning: Skipping duplicate collection: tubi Shows

Since all the collections are dropped from the file, the now-empty collections: or dynamic_collections: attribute gets dropped from the parsed YAML file, which results in:

| YAML Error: collections or dynamic_collections attribute is required
| Collection File Failed To Load
sour kelp
#

I was trying to only at itvx from the uk region

#

That is why I used use_all: false

#
  • default: streaming
    template_variables:
    style: white
    language: en
    region: us
    minimum_items: 2
    use_all: false
    use_appletv: true
    use_discovery: true
    use_disney: true
    use_hulu: true
    use_max: true
    use_paramount: true
    use_peacock: true
    use_amazon: true
    use_channel4: true
    visible_home: false
    visible_shared: false
    filters:
    genre.not: Game Show, Home and Garden, News, Reality, Soap, Talk Show, Sport, Travel, Food, Documentary, Anime, Animation
    last_episode_aired_or_never: 365
    original_language: en
    • default: streaming #uk
      template_variables:
      style: white
      limit: 100
      minimum_items: 2
      visible_home: false
      visible_shared: false
      region: GB
      use_all: false
      use_itvx: true
      use_channel4: false
      language: en
tidal fern
sour kelp
#

Great, that makes sense. I was trying to get the itvx from gb region

tidal fern
#

Looks like exclude is what you want.

sour kelp
#

Thanks, I will have to rewrite each streaming section. Thank you.

next pagoda
#

and you also cannot apply a filter to the defaults in that way

tidal fern
#

yeah, that too

#

The defaults are only customizable as described on their individual wiki pages.

sour kelp
#

Ok