#Default decade collection not sorting properly

1 messages · Page 1 of 1 (latest)

empty axle
#

Wiki says that it should be sorted by critic_rating.desc by default, however it is sorting by alpha in plex.

Relevant block:

        template_variables:
          limit: 100```

It also seems that the default year collection has the same issue. This causes the collection to only show movies that start with #-B in most of the collections.

Im unsure if its related, but in plex it shows the collection size as >100 for each decade, but once I go in to the collection, it only shows the limit that was set.
dusky spindleBOT
#

Welcome @empty axle!

It looks like you have not yet completed the id:customize section of our Discord server, this will allow us to help you quicker.

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.

deft beacon
#

in plex it shows the collection size as >100 for each decade

This is a plex thing.

#

What if you set the sort you want [even though it is supposed to default to what you want]?

empty axle
#

Image showing the movies that are in the collection, sorted by alpha instead of critic:

solid halo
empty axle
dusky spindleBOT
#

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

#
**Rec 01** - ❌ **[ERROR]**

[ERROR]
Error messages found in your attached log.
There is a very strong likelihood that Kometa did not complete all of what you wanted. Some [ERROR] lines can be ignored.
For more information on handling these, [https://kometa.wiki/en/latest/kometa/logs/?h=[error]#error]
1 line(s) with [ERROR] messages. Line number(s): 3249

solid halo
#

@empty axle the logs show the sort it being applied as critic_rating.desc

empty axle
#

Thats what I saw too, but in the picture you can see that its doing it by alpha

solid halo
#

i can't replicate this, i just ran on my library, it it sorts correctly with critic rating

normal jayBOT
#
LinuxServer (LSIO) Issues

The Linuxserver.io image [linuxserver/kometa] is different to the OFFICIAL image [kometa-team/kometa] in a few ways that cause problems.

It keeps the Kometa files in a different place inside the image compared to official, so when you exec into it you can't just run Kometa, you need to cd into another dir first.

The default run time is 3:00am which coincides with Plex maintenance.

Generally speaking, we suggest you use the official Kometa image instead of lsio. Type !repos for more info.

sullen totem
#

you could also try deleting the collections in plex ui and rerunning kometa to see if itll sort correctly

deft beacon
solid halo
#

i just ran with a different sort, and it sorted just fine. removed the sort and it returned properly to critic rating

empty axle
#

Trying the other repo, will report back once I get it set up.

empty axle
#

Looks like it has the same behavior. Only shows the first 100 items of the decade collection when sorted by alpha. Shouldnt it be sorting the movies and then limiting the list to 100 and then telling plex what collection to put them in? It seems like its giving plex the full list, which plex then sorts by alpha, and then telling plex to limit it to 100.

#

Also noticed that it too removes the oscars collections then re-adds them on every run

solid halo
empty axle
#

Thats the thing, its not supposed to sort by alpha, the configs and logs both show its supposed to sort by critic

solid halo
#

You said “when sorted by alpha”. So I take that as you changing the sort

empty axle
solid halo
#

Ive tried a few times to reproduce this and still can’t

deft beacon
#

My suspicion:

The library is set to:

Ratings Source: The Movie Database

That rating source doesn't have a critic rating.

You don't have an operation set up to fill in the critic rating, so nothing in the library has one of those.

You are telling Plex to sort by a value that doesn't exist [critic_rating], so I imagine it falls back to alpha.

empty axle
deft beacon
#

The only one with a critic rating is rotten tomatoes

#

Or you can use a Kometa library operation to shove the rating of your choice into the critic box.

solid halo
#

You will probably need to refresh metadata

empty axle
empty axle
#

Alright cool, that was the fix, thanks for the help