📝 If you want to review this again, ariste83:
: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> 📝
#Dynamic collection letterboxd_user_lists with collection_order: custom variable
1 messages · Page 1 of 1 (latest)
Welcome @gritty finch!
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.
Hello,
I have created a dynamic_collections.yml file where I set up letterboxd_user_lists to automatically import all the lists from my Letterboxd account.
What I would like is for the movies to appear in Plex in the same order as they are arranged within my Letterboxd lists, rather than by release date.
The variable that seems to enable this is:
collection_order: custom
However, when I include this directly in my dynamic_collections.yml file, it doesn’t work. Here is my current configuration:
dynamic_collections:
Letterboxd User Lists: # This name is the mapping name
type: letterboxd_user_lists
collection_order: custom
sync: true
data:
username: (redacted by Luma)
limit: 1000
This seems incorrect based on what is stated in the logs. I shared an excerpt of my logs for more clarity.
From what I understand, I might need to include the collection_order: custom variable within a template. However, I’m unsure how to do this. Could you guide me on how to set it up?
Thank you in advance for your help!
That log is incomplete and I don't see any issues in there. What is the error or bahavior that you refer to as "doesn't work"?
!noredact
I think what you want is something like this:
templates:
my_letterboxd:
letterboxd_list_details: <<value>>
collection_order: custom
dynamic_collections:
Letterboxd User Lists:
template: my_letterboxd
type: letterboxd_user_lists
sync: true
data:
username: SOMEUSER
limit: 1000
Yes, absolutely, I want to correctly apply the collection_order: custom parameter to my dynamic collection letterboxd_user_lists. I’ll try the parameter you suggested as soon as I get home later to see if it works well with my setup. Thank you very much.
Screenshot Usage
Please avoid posting screenshots of text-like log output or your yaml configurations. They are very hard to read to find errors and we cannot scroll through the text to see other context. Post actual text instead, formatted with code-blocks (type !code for more info on this).
If you feel that it's too long, you can directly attach the entire file to your Discord message
📝 If you want to review this again, ariste83:
: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> 📝
I just applied the corrections you provided. Unfortunately, all my movies from my Letterboxd collections are still sorted in chronological order and not based on the original order of the list 😦
The log shows Kometa moving them into a non-chronological order.
| Collection Order | custom
|
|===================== Sorting 10.Danny Peary Cult Movies - Vol. 1-3 Collection =====================|
|
| Moving Aguirre, la colère de Dieu (1974) to the beginning
| Moving Ève (1950) after Aguirre, la colère de Dieu (1974)
| Moving La Balade sauvage (1973) after Ève (1950)
| Moving La Belle et la Bête (1946) after La Balade sauvage (1973)
| Moving Le Masque du démon (1960) after La Belle et la Bête (1946)
| Moving Chromosome 3 (1979) after Le Masque du démon (1960)
| Moving Queimada (1969) after Chromosome 3 (1979)
| Moving Casablanca (1942) after Queimada (1969)
| Moving Citizen Kane (1941) after Casablanca (1942)
| Moving Deep End (1971) after Citizen Kane (1941)
| Moving Détour (1945) after Deep End (1971)
| Moving La soupe au canard (1933) after Détour (1945)
| Moving El topo (1970) after La soupe au canard (1933)
| Moving Opération Dragon (1973) after El topo (1970)
...
If Plex isn't displaying them in that order, then there's some issue inside Plex. Kometa is attempting to do as you've asked.
Yes, I had misanalyzed the results. Indeed, I just checked again, and it works perfectly as I wanted. A huge thank you for the help you provided !