#Trakt playlists being created alphabetically instead of in order

1 messages · Page 1 of 1 (latest)

untold islandBOT
#

Welcome @fierce pike!

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.

untold islandBOT
#

for some reason my trakt playlists are being sorta alphabetically. using the default -trakt for collections in my config.

latent cipher
#

That config snippet is referencing collections, not playlists.

fierce pike
#

Sorry meant collections

latent cipher
#

Are you referring to the collections themselves or the contents of them?

fierce pike
#

they just started generating by a-z before it would sync just as trakts website

latent cipher
#

Can you provide a full log?

The default sort is "custom" which should reflect the order of how the things come back from Trakt.

fierce pike
untold islandBOT
#

📝 If you want to review this again, .bugas:
: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: bugas
Person who Invoked the Command: bugas
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: Rec 01 - ❌🔒 BLANK API KEY ERROR
Page 09: Rec 02 - ❌ [ERROR]
Page 10: Rec 03 - ❌⏱️ TIMEOUT ERROR
Page 11: Rec 04 - ⚠️ [WARNING]
Page 12: Rec 05 - ⚠️ NO ITEMS FOUND IN PLEX
Page 13: Rec 06 - 💬 CONVERT WARNING

latent cipher
#

Perhaps Trakt has changed something. The log shows that either the sort doesn't need to be updated or Kometa is moving things around:

#
|================================= Sorting Trakt Popular Collection =================================|
|                                                                                                    |
| No Sorting Required                                                                                |
|                                                                                                    |
|====================================================================================================|
|                                 Finished Trakt Popular Collection                                  |
fierce pike
#

Yah thats why im confused

latent cipher
#
|=============================== Sorting Trakt Recommended Collection ===============================|
|                                                                                                    |
| Moving Spirited Away (2001) after Werewolves (2024)                                                |
| Moving Harry Potter and the Half-Blood Prince (2009) after Spirited Away (2001)                    |
| Moving The Batman (2022) after Harry Potter and the Half-Blood Prince (2009)                       |
| Moving Blade Runner 2049 (2017) after The Batman (2022)                                            |
| Moving Oppenheimer (2023) after Blade Runner 2049 (2017)                                           |
| Moving A Real Pain (2024) after Oppenheimer (2023)                                                 |
| Moving Harry Potter and the Goblet of Fire (2005) after A Real Pain (2024)                         |
| Moving The Radleys (2024) after Harry Potter and the Goblet of Fire (2005)                         |
| Moving Inglourious Basterds (2009) after The Radleys (2024)                                        |
| Moving Top Gun: Maverick (2022) after Inglourious Basterds (2009)                                  |
| Moving The Six Triple Eight (2024) after Top Gun: Maverick (2022)                                  |
| Moving Wallace & Gromit: Vengeance Most Fowl (2024) after The Six Triple Eight (2024)              |
| Moving Red One (2024) after Wallace & Gromit: Vengeance Most Fowl (2024)                           |
| Moving Harry Potter and the Chamber of Secrets (2002) after Red One (2024)                         |
| Moving Deadpool (2016) after Harry Potter and the Chamber of Secrets (2002)                        |
| Moving Good Will Hunting (1997) after Deadpool (2016)                                              |
| Moving Mad Max: Fury Road (2015) after Good Will Hunting (1997)                                    |
| Moving Avengers: Infinity War (2018) after Mad Max: Fury Road (2015)                               |
| Moving Guardians of the Galaxy (2014) after Avengers: Infinity War (2018)                          |
| Moving The Truman Show (1998) after Guardians of the Galaxy (2014)                                 |
| Moving Subservience (2024) after The Truman Show (1998)                                            |
| Moving Back to the Future (1985) after Subservience (2024)                                         |
| Moving Spider-Man: Across the Spider-Verse (2023) after Back to the Future (1985)                  |
| Moving Smile 2 (2024) after Spider-Man: Across the Spider-Verse (2023)                             |
| Moving Apartment 7A (2024) after Smile 2 (2024)                                                    |
| Moving Your Fault (2024) after Apartment 7A (2024)                                                 |
|                                                                                                    |
|====================================================================================================|
|                               Finished Trakt Recommended Collection                                |

These are clearly not in alpha order.

#

So if Plex is displaying something different that this, that's going to be inside Plex

fierce pike
#

Yah but Kometa creates these collections and theyre not smart collections so i cant configure the order of them in plex

latent cipher
#

My point is that Kometa is telling Plex to put things in a particular order, for example:

| Moving Spider-Man: Across the Spider-Verse (2023) after Back to the Future (1985)                  |
| Moving Smile 2 (2024) after Spider-Man: Across the Spider-Verse (2023)                             |
| Moving Apartment 7A (2024) after Smile 2 (2024)                                                    |
| Moving Your Fault (2024) after Apartment 7A (2024)                                                 

And Plex is not reporting any errors in doing so, so as far as Kometa can tell, everything has gone fine.

"Apartment 7A" is in the collection after "Smile 2", etc.

If Plex later decides to display them in some other order, there isn't anything Kometa ca do about that.

fierce pike
#

What would you suggest to fix?

latent cipher
#

There isn't anything to do on Kometa's side. As far as Kometa can tell, there is nothing to fix.

#

You could try database maintenance on Plex.

fierce pike
#

well seeming how trakt is the only collections not being sorted properly its probably on trakts side than

latent cipher
#

Are those items shown being sorted above in the collection in that order?

#

these:
#1328124753285877862 message

fierce pike
#

In kometa it shows like you said theyre being sorted in that order

#

on plex they show up a-z

latent cipher
#

So it's not on the Trakt side, not in Kometa. It's in Plex.

#

Trakt provides movies in some order
Kometa puts them in a collection in that order
Plex displays them in a different order.

fierce pike
#

But these collections are created by kometa. i dont have configuring options for them in plex. its just the deafault -trakt collection

#

Worked for months until a few days ago

#

Never changed anything

latent cipher
#

Yes, I realize that.

Kometa asks Trakt for the list. That list is in some order.

Kometa adds those thigns to a collection:

|============================== Adding to Trakt Recommended Collection ==============================|
|                                                                                                    |
|  1/87 | Trakt Recommended Collection | = | Gladiator II (2024)                                     |
|  2/87 | Trakt Recommended Collection | = | Interstellar (2014)                                     |
|  3/87 | Trakt Recommended Collection | = | Wicked (2024)                                           |
|  4/87 | Trakt Recommended Collection | = | Number 24 (2024)                                        |
|  5/87 | Trakt Recommended Collection | = | Carry-On (2024)                                         |
|  6/87 | Trakt Recommended Collection | = | The Wild Robot (2024)                                   |
|  7/87 | Trakt Recommended Collection | = | Dune: Part Two (2024)                                   |
|  8/87 | Trakt Recommended Collection | = | Venom: The Last Dance (2024)                            |
|  9/87 | Trakt Recommended Collection | = | Dune: Part One (2021)                                   |
| 10/87 | Trakt Recommended Collection | = | Juror #2 (2024)                                         |
| 11/87 | Trakt Recommended Collection | = | The Count of Monte Cristo (2024)                        |

Note that those are clearly not in alpha order.

#

Then Kometa tells Plex, hey move these things around in the collection:

|=============================== Sorting Trakt Recommended Collection ===============================|
|                                                                                                    |
| Moving Spirited Away (2001) after Werewolves (2024)                                                |
| Moving Harry Potter and the Half-Blood Prince (2009) after Spirited Away (2001)                    |
| Moving The Batman (2022) after Harry Potter and the Half-Blood Prince (2009)                       |
| Moving Blade Runner 2049 (2017) after The Batman (2022)                                            |
| Moving Oppenheimer (2023) after Blade Runner 2049 (2017)                                           |
| Moving A Real Pain (2024) after Oppenheimer (2023)                                                 |
| Moving Harry Potter and the Goblet of Fire (2005) after A Real Pain (2024)                         |
| Moving The Radleys (2024) after Harry Potter and the Goblet of Fire (2005)                         |
| Moving Inglourious Basterds (2009) after The Radleys (2024)                                        |
| Moving Top Gun: Maverick (2022) after Inglourious Basterds (2009)                                  |
| Moving The Six Triple Eight (2024) after Top Gun: Maverick (2022)                                  |
| Moving Wallace & Gromit: Vengeance Most Fowl (2024) after The Six Triple Eight (2024)              |
| Moving Red One (2024) after Wallace & Gromit: Vengeance Most Fowl (2024)                           |
| Moving Harry Potter and the Chamber of Secrets (2002) after Red One (2024)                         |
| Moving Deadpool (2016) after Harry Potter and the Chamber of Secrets (2002)                        |
| Moving Good Will Hunting (1997) after Deadpool (2016)                                              |
| Moving Mad Max: Fury Road (2015) after Good Will Hunting (1997)                                    |
| Moving Avengers: Infinity War (2018) after Mad Max: Fury Road (2015)                               |
| Moving Guardians of the Galaxy (2014) after Avengers: Infinity War (2018)                          |
| Moving The Truman Show (1998) after Guardians of the Galaxy (2014)                                 |
| Moving Subservience (2024) after The Truman Show (1998)                                            |
| Moving Back to the Future (1985) after Subservience (2024)                                         |
| Moving Spider-Man: Across the Spider-Verse (2023) after Back to the Future (1985)                  |
| Moving Smile 2 (2024) after Spider-Man: Across the Spider-Verse (2023)                             |
| Moving Apartment 7A (2024) after Smile 2 (2024)                                                    |
| Moving Your Fault (2024) after Apartment 7A (2024)                                                 |

Plex doesn't say anythign went wrong.

#

So as far as Trakt and Kometa are concerned, everything went fine.

#

After this moment:

|====================================================================================================|
|                               Finished Trakt Recommended Collection                                |
|                                    Collection Run Time: 0:01:07                                    |
|====================================================================================================|

Neither Kometa nor Trakt can affect the order the collection appears in Plex.

fierce pike
latent cipher
#

I am not denying that Plex is displaying them in some different order.

fierce pike
#

thesse collections cant be configured in plex though

latent cipher
#

This is not something you can configure in Plex.

#

There is apparently some problem inside Plex that is resulting in it displaying these things in the wrong order, even after it has been told to display them in some other order.

#

One thing that can cause something like this is when the same movies are in multiple collections with custom sort orders. HAve yo umade any changes along those lines recently?

fierce pike
#

I have no custom sort orders. I rely on kometa for all my collections

latent cipher
#

Custom orders in Kometa.

fierce pike
#

Same as always havent touched in months

latent cipher
#

If I copy those three lines from your config:

  Kometa-Movies:
    collection_files:
      - default: trakt
        template_variables:
          collection_section: 12

into my test config, I get five collections, all ordered as expected, for example:

#

I can't reproduce what you're seeing.

fierce pike
#

try it for shows

latent cipher
#
|=============================== Sorting Trakt Recommended Collection ===============================|
|                                                                                                    |
| Moving Interstellar (2014) to the beginning                                                        |
| Moving Dune: Part Two (2024) after Interstellar (2014)                                             |
| Moving Dune: Part One (2021) after Dune: Part Two (2024)                                           |
| Moving Inception (2010) after Dune: Part One (2021)                                                |
| Moving The Lord of the Rings: The Fellowship of the Ring (2001) after Inception (2010)             |
| Moving Everything Everywhere All at Once (2022) after The Lord of the Rings: The Fellowship of the Ring (2001) |
| Moving Gladiator (2000) after Everything Everywhere All at Once (2022)                             |
| Moving The Dark Knight (2008) after Gladiator (2000)                                               |
| Moving The Shawshank Redemption (1994) after The Dark Knight (2008)                                |
| Moving The Matrix (1999) after The Shawshank Redemption (1994)                                     |
| Moving Se7en (1995) after The Matrix (1999)                                                        |
| Moving Fight Club (1999) after Se7en (1995)                                                        |
| Moving Speak No Evil (2024) after Fight Club (1999)                                                |
| Moving Parasite (2019) after Speak No Evil (2024)                                                  |
| Moving Avengers: Endgame (2019) after Parasite (2019)                                              |
| Moving Pulp Fiction (1994) after Avengers: Endgame (2019)                                          |
fierce pike
#

I guess i can try deleting them from the config and plex and retrying

latent cipher
#

Same thing with shows:

#
|=============================== Sorting Trakt Recommended Collection ===============================|
|                                                                                                    |
| Moving Squid Game to the beginning                                                                 |
| Moving Yellowstone (2018) after Breaking Bad                                                       |
| Moving The Office (US) after Yellowstone (2018)                                                    |
| Moving Ted Lasso after The Office (US)                                                             |
| Moving The Big Bang Theory after Ted Lasso                                                         |
| Moving Friends after The Big Bang Theory                                                           |
| Moving The Simpsons after Friends                                                                  |
| Moving The Walking Dead after The Simpsons                                                         |
| Moving Succession after The Walking Dead                                                           |
| Moving Rick and Morty after Succession                                                             |
| Moving Peaky Blinders after Rick and Morty                                                         |
| Moving Modern Family after Peaky Blinders                                                          |
| Moving Community after Modern Family                                                               |
| Moving How I Met Your Mother after Community                                                       |
| Moving Supernatural after How I Met Your Mother                                                    |
| Moving Family Guy after Supernatural                                                               |
fierce pike
#

Yah i have no idea whats happening lol

latent cipher
#

This one's a little off because all the other ones also have custom sort orders, and Plex behaves badly when multuple collections put the same items in different custom orders.

fierce pike
#

So only use 1 trakt collection is what youre saying

latent cipher
#

Or accept that custom orders are not precise until Plex fixes that issue.

#

It's not just Trakt. It's any multiple collections with custom orders.

#

The IMDB Top 250 shares movies with and is in a differnet order than Trakt recommended or Letterboxd Top 250 or whatever.

fierce pike
#

Oh they never used to interfer with eachother

#

oh well

latent cipher
#

This has been the case as long as I've been using Kometa, so it's been some time.

fierce pike
#

Guess i was just getting lucky for a long time

#

Thanks for the help

lapis plumeBOT
#

chazlarson used !aenh

@fierce pike, 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.