#Sort collection order question
1 messages · Page 1 of 1 (latest)
You can press the "Close Post" button above or type /close at any time to close this post.
Just change the "collection_section"
- pmm: director # the alive ones
template_variables:
collection_section: 800
use_separator: true
...
That will push them to the end of the default collections.
I have a general question; why do all the files you upload have those numeric suffixes?
ORIGINAL MESSAGE:
I want to thank everyone who has helped me so far. I now have the collections I want but need to sort them out to look good. First issue is the actors directors pmm collections. I am trying to have them at the end of the collections so I tried to assign a higher number on sort than others but they have not moved. They are contained in my config file attached.
CONFIG DELETED DUE TO EXPOSED TOKENS
The following was shared by @sudden junco and was automatically redacted by Luma as it may have contained sensitive information.
If you feel this message should not have been redacted, resend it with !noredact in your message to avoid redaction.
adding that suffix gets in the way of the automatic redaction, for one thing.
This post has been marked as Resolved and has now been closed.
You cannot reopen this thread - you must create a new one or ask a member of staff to reopen it in #general-chat.
Thanks for using Plex Meta Manager.
@vestal slate is this the one you wanted reopened?
Yes thanks.
The config file is attached. I tried with 900 as you listed and +900 and neither worked and in fact the actors and actresses are now all mixed in together even though the separators are still there. I will have some other sorting questions after this one is sorted out.
can you provide a log showing this happening?
collection_section should be just a number, not a string:
This is behaving as expected:
libraries:
Movies - Alternate Cuts:
collection_files:
- pmm: director # the alive ones
template_variables:
use_separator: true
collection_section: 900
sep_style: orig
style: diiivoycolor
include:
- Clint Eastwood
- Francis Ford Coppola
- M. Night Shyamalan
- Martin Scorsese
- Quentin Tarantino
- Ridley Scott
- Steven Spielberg
- Guy Ritchie
- Christopher Nolan
- Denis Villeneuve
- Ron Howard
- Robert Redford
- Client Eastwood
Actors and Directors are mixed as expected since they're all in the same section, 900:
I was gonna say, if you use the same collection section number, they’re going to mix
This:
- pmm: seasonal # Create holiday collections that follow schedules
collection_section: 90
schedule: weekly(thursday)
template_variables:
limit: 100
use_Women's History Month Movies: false
use_Latinx Heritage Month Movies: false
use_LGBTQ+ Pride Month Movies: false
use_Black History Month Movies: false
use_Day of Persons with Disabilities Movies: false
use_Asian American & Pacific Islander Heritage Month Movies: false
Is incorrect. It's use_<<key>> where the "key" is listed on the wiki page:
So that should be:
- pmm: seasonal # Create holiday collections that follow schedules
collection_section: 90
schedule: weekly(thursday)
template_variables:
limit: 100
use_women: false
use_latinx: false
use_lgbtq: false
use_black_history: false
use_disabilities: false
use_aapi: false
If I fix up and run your config above [aside from your files], I get what I would expect:
If I set:
collection_section: 800
and run it, I get what I'd expect:
that's this config:
libraries:
Movies - Alternate Cuts:
collection_files:
- pmm: imdb
template_variables:
radarr_add_missing: true
use_popular: true
use_lowest: false
- pmm: director # the alive ones
template_variables:
use_separator: true
collection_section: 800
sep_style: orig
style: diiivoycolor
include:
- Clint Eastwood
- Francis Ford Coppola
- M. Night Shyamalan
- Martin Scorsese
- Quentin Tarantino
- Ridley Scott
- Steven Spielberg
- Guy Ritchie
- Christopher Nolan
- Denis Villeneuve
- Ron Howard
- Robert Redford
- Client Eastwood
- pmm: director # the dead ones
template_variables:
use_separator: true
collection_section: 800
sep_style: orig
style: diiivoy
include:
- Alfred Hitchcock
- Frank Capra
- John Huston
- Billy Wilder
- pmm: actor # the alive ones
template_variables:
use_separator: true
collection_section: 900
sep_style: orig
style: diiivoycolor
include:
- Clint Eastwood
- Arnold Schwarzenegger
- Bill Murray
- Brad Pitt
- Bradley Cooper
- Christian Bale
- Dustin Hoffman
- Goldie Hawn
- Harrison Ford
- Jack Nicholson
- John Cusack
- Julia Roberts
- Kevin Costner
- Kurt Russell
- Leonardo DiCaprio
- Matthew McConaughey
- Matt Damon
- Mel Gibson
- Meryl Streep
- Michael Douglas
- Reese Witherspoon
- Robert Downey Jr.
- Robert De Niro
- Robert Duvall
- Robert Redford
- Tom Cruise
- Tom Hanks
- pmm: actor # the dead ones
template_variables:
use_separator: true
collection_section: 900
sep_style: orig
style: diiivoy
include:
- Cary Grant
- Dean Martin - Errol Flynn
- Humphrey Bogart
- James Stewart
- John Wayne
- Paul Newman
- Sean Connery
- Steve McQueen
- pmm: seasonal # Create holiday collections that follow schedules
collection_section: 90
schedule: weekly(thursday)
template_variables:
limit: 100
use_women: false
use_latinx: false
use_lgbtq: false
use_black_history: false
use_disabilities: false
use_aapi: false
I think I understand. I will try it out and post.
I entered the info but I guess maybe it is my other lists that are not sorting correctly. I am trying to lay out People collection last and they do not move. I have attached my genre, decades and Movie-collection files. . I tried with and without plus signs and every combination I could imagine but I cannot seem to figure the sorting with collection_section and sort_title. My Genre file has the sorting order I want on top.
The default collections all get sort title that lok like this:
<<sort_prefix>><<collection_section>>_!<<title>>
As shown above:
That sort_prefix means that they will all appear before any of your own, unless you construct your own sort titles to match, or remove the sort_prefix.
There's nothing magic here; the collections are just sorted in alphabetical order by the sort title.
Yours:
Oscar-Best Picture:
imdb_search:
type: movie
event.winning: oscar_picture
sort_title: 500 <<collection_name>>
gets a sort_title of 500 Oscar-Best Picture, which will sort after all the defaults.
If you want the actor defaults to sort after your own collections, you need to give them names that will sort after your own.
At least in part, you'll need to remove that sort_prefix, which you can do via template_variables.
Sorry I am confused. How would I remove the sort_prefix from the actors and directors? What would the command be to remove sort_prefix "sort_prefix: remove"? That is one I have not seen before.