#imdb_list url attribute not found

1 messages · Page 1 of 1 (latest)

atomic topaz
#

Not sure why this isn't working. It matches the syntax https://kometa.wiki/en/latest/files/builders/imdb/#imdb-list afaict.

  Stories by Jane Austen:
    collection_order: random
    visible_library: true
    imdb_list:
      - list_id: ls026536111
        sort_by: rating.desc
        limit: 100
    imdb_search:
      type: movie
      cast: nm0000807
      rating.gte: 6
      votes.gte: 1000
      sort_by: rating.desc
      limit: 100

Collection Error: imdb_list url attribute not found

rapid harborBOT
#

Welcome @atomic topaz!

Someone from <@&938443185347244033> will assist when they're available.

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.

atomic topaz
#
[2024-07-04 21:50:16,780] [builder.py:968]            [DEBUG]    |                                                                                                    |
[2024-07-04 21:50:16,780] [builder.py:972]            [DEBUG]    | Validating Method: imdb_list                                                                       |
[2024-07-04 21:50:16,780] [builder.py:973]            [DEBUG]    | Value: [{'list_id': 'ls026536111', 'sort_by': 'rating.desc', 'limit': 100}]                        |
[2024-07-04 21:50:16,780] [builder.py:1492]           [ERROR]    | Collection Error: imdb_list url attribute not found                                                |
pulsar hound
#

This example from the wiki:

collections:
  James Bonds:
    imdb_list: 
      list_id: ls006405458
      limit: 100
      sort_by: rating.asc

Does not match yours:

  Stories by Jane Austen:
    imdb_list:
      - list_id: ls026536111  # << note difference on this line
        sort_by: rating.desc
        limit: 100
rapid harborBOT
#

✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements

#

✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements

atomic topaz
#

Isn't imdb_list a list, so the - should work?

pulsar hound
#

I'm just looking at the docs.

atomic topaz
#

Let me try it and see if it works

pulsar hound
#

For a single id, there's no leading hyphen

#

For multiple, there are

atomic topaz
#

That must be the issue then. YAML is confusing sometimes.

#

Thanks @pulsar hound

pulsar hound
#

I don't know that it's the issue but it's a clear variance from the docs and where I would start.