#Is my config somehow incorrect?

1 messages · Page 1 of 1 (latest)

white terrace
#

Config:

    sort_title: "!03-03-Dance Flicks"
    collection_order: random
    visible_home: false
    visible_shared: false
    visible_library: false
    imdb_list:
      - list_id: ls000054939
        sort_by: rating.desc
        limit: 50
      - list_id: ls023979601
        sort_by: rating.desc
        limit: 50

Results in warnings like this:

| Collection Warning: imdb_list {'list_id': 'list_id', 'sort_by': 'sort_by', 'limit': 'limit'} attribute {'list_id': 'ls000054939', 'sort_by': 'rating.desc', 'limit': 50} must be in [popularity.asc, popularity.desc, title.asc, title.desc, rating.asc, rating.desc, votes.asc, votes.desc, box_office.asc, box_office.desc, runtime.asc, runtime.desc, year.asc, year.desc, release.asc, release.desc] using custom.asc as default |

But rating.desc is a valid sort_by attribute. And the format seems to be consistent with https://kometa.wiki/en/latest/files/builders/imdb/#imdb-list.

fringe ginkgoBOT
#

Welcome @white terrace!

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.

viral hornetBOT
#
Providing Log Files

1: Go to your config folder

2: Go into the logs folder

3: Look for meta.log (not meta.1.log etc)

4: Drag it in the Discord thread - the whole thing, DO NOT EDIT IT

5: Still confused? ¯_(ツ)_/¯

Log file too big? USE PASTEBIN or ZIP THE FILE

nova veldt
#

This looks like a plain old bug in the parsing here.

Basically it appears to be looking for this entire string:

{'list_id': 'ls000054939', 'sort_by': 'rating.desc', 'limit': 50} 

in this list:

[popularity.asc, popularity.desc, title.asc, title.desc, rating.asc, rating.desc, votes.asc, votes.desc, box_office.asc, box_office.desc, runtime.asc, runtime.desc, year.asc, year.desc, release.asc, release.desc]

rather than just rating.desc, and of course it isn't there.

@silent spindle ? I haven't started digging into it beyond that.

white terrace
#

Yeah this seems to be happening for every imdb list. Is there any workaround until this is fixed?

nova veldt
#

Don't use sort-by

white terrace
#

I suppose that would be the same end result as using it and it falling back to custom?

nova veldt
#

Something like this might be close to the same:

  Dance Flicks:
    imdb_list: 
      - list_id: ls000054939
      - list_id: ls023979601
    collection_order: rating.desc
    limit: 100
    sync_mode: sync

But you may not get 50 from each.

white terrace
nova veldt
#

You could label those separately and then base the final collection on the labels

white terrace
#

Should I track this as a GitHub bug or is it already tracked?

unborn bloom
#

It’s being reviewed

white terrace
#

Cool close then

viral hornetBOT
#

bullmoose20 used !afnh

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