#Collection Organization/Order Chart
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.
Can someone please help with assigned the correct sorting variable to each level of collections? I'm having a difficult time understanding the difference of each given the verbiage of the wiki.
Plex
-> Collection folder
---> Collection types (Directors, Actors, Studios, etc.) sort_title: x ?
------> Collection sub-type (Directors) [the order of collection types "Directors, Actors, Studios, etc.] sort_order: x ?
---------> Collection (Christopher Nolan) [the order of collections within the "Director" sub-type] sort_by:?
------------> Movies (Interstellar, Shutter Island, etc.) [the order of movies within the "Christopher Nolan" collection] collection_order: x ?
Sorry I didn't mean to post the thread at first
Are you talking about the defaults?
I have no idea what you mean by "collection subtype" etc
Sort title is how you want the collection. Like you could have a collection named “crappy movies” but set a sort title of “blah blah” and it would be in the b’s
Everything if possible... Defaults, templates, collections, and even manual collections made in plex
Collections appear in the collection tab [I assume that's what you mean by "collection folder"] sorted in alphabetical order by sort title
That's the only "rule"
Sort_by is generally, I want this collection sorted by release or alphabetical, or some other sortable way
Sub-type as in "Directors" is a default, and I want the order of the Director collections (Christopher Nolan, James Cameron) to be alphabetical order, but not the movies within each
Ok so this is for the Movies themselves within the collection?
Defaults, templates, collections, and even manual collections made in plex
The defaults all get sort titles that group them together; those are all described in the wiki.
The sort title of a template is meaningless except for how it affects the sort title of a collection
Collections [however they are creeated] are displayed in alpha order by sort title
Ahh, so I can't move a set of collections (I have a custom sub-type of collection for foreign, each country is a different collection) in the middle two "default" collection sub-types (Actors, Directors)?
If you are talking about the defaults, which you must be since manual collections will be ordered however you want them to be,
The default director collections will be collection "section" 150, so they'll be the 15th "group" of collections [assuming you have all of the defaults enabled].
The Director collections themselves will be sorted within that group in alpha order by director name,
The movies within those collections will be sorted in reverse release order [which you can change if you want]
Sure you can. Give them sort titles that make them appear whereever you want.
Collection Ordering in Kometa Collections in the Collections tab in Plex are ordered alphabetically by their titles, or sort titles if one is specified. For example, let’s create two collections, “Apple” and “Banana”: I created these in Plex, no Kometa involved. Just selected all the “Star...
Maybe useful
Ok I'll read through that and get back with my results! I tried this previously, but couldn't get it to work. Thank you
For example, the director collections will all have sort titles that look like this:
!150_Ridley Scott Movies
!150_Steven Spielberg Movies
And the Actor collections:
!140_Brad Pitt Movies
!140_Tom Hulce Movies
Ahh, what I did last time was
- default: universe template_variables: sort_title: '!006_<<collection_name>>' asset_directory: config/assets collection_order: release.desc sync_mode: sync
If you wanted to put your custom collections between those:
!145_demongoggle Favorites
!145_demongoggle Extra favorites
There's nothing magic about anything there. It's just alphabetical order.
and the !145_demongoggle is my Plex username?
The ! doesn't "mean" anything.
That's just an example to make it clear I was referring to a collection you created.
Ohh ok ok
!145_COLLECTION NAME #1 GOES HERE
!145_COLLECTION NAME #2 GOES HERE
!145_COLLECTION NAME #3 GOES HERE
Perfect. Thanks again
and the number is just the collection_section template variable. so with that "sort_title", just leave the title how it is, and change the collection_section
collection_section is specific to the defaults. You can't use it with your own collections.
The "140", "150" is shown in the wiki on each default's page:
It's found there because it is part of the defaults "framework" and isn't something you can use as a variable in your own collections.
I'm puzzled by this because it seems like a different thing to what you were asking about [your custom collections].
If you want to swap the order of the directors and actors, you could use a template variable:
- default: directors
template_variables:
collection_section: '140'
- default: actors
template_variables:
collection_section: '150'
✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements
I had added "sort_title:" to every single collection section (including the defaults) thinking that I could change them and manually order every section (or what I earlier referred to as the sub-type)
You could certainly do that, but if you just want to reorder the "sections" you can use collection_section which would just replace the relevant bit:
!150_Ridley Scott Movies
^^^
And leave the rest of the automatic sort-title creation alone
That only works with the defaults, again.
Ok, so if I am understanding you correctly, this should list the Director collections in Alpha, then the Studio collections in Alpha?, and lastly the Actor collections in Alpha... Right? Then all the movies within each collection will be ordered by release date (desc).
libraries: Movies: # collection_files: # - default: director template_variables: # sort_by: release.desc" collection_section: '140' - default: actor template_variables: # sort_by: release.desc collection_section: '150' templates: Studio: optional: - company tmdb_company: <<company>> sort_by: release.desc sort_title: '145 <<collection_name>>' collections: DreamWorks Animation: template: { name: Studio, company: 521 }
templates:
Studio:
optional:
- company
tmdb_company: <<company>>
sort_by: release.desc
sort_title: '145 <<collection_name>>'
collections:
DreamWorks Animation:
template: { name: Studio, company: 521 } ```
does not go in your config file
✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements
this would go in a separate file name demongoggle.yml
then you would have something like this yaml libraries: Movies: # collection_files: # - default: director template_variables: # sort_by: release.desc" collection_section: '140' - default: actor template_variables: # sort_by: release.desc collection_section: '150' - file: config/demongoggle.yml
✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements
Ok! I appreciate your help
but keep in mind the sort is !140_SomeTitle, and you were using !145 ThisTitle. notice that the default has an underscore and your sort doesn't. so that will affect the sort. yes it is alphabetical, but wanted to point that out
antwanchild used !aenh
@gilded jetty, 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.