#Change collection order

1 messages · Page 1 of 1 (latest)

lapis cairnBOT
#

Welcome @dense cape!

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.

brittle fern
high robinBOT
#

smoozy2686, please use codeblocks when posting things that are found in files like a yaml file. Use !code to learn more.```Hi,
I try to combine the default collections with my own collections. I want to determine the order myself. I recently asked a question about this and was given work instructions on how to handle this. Unfortunately I am unable to achieve this. Granted, this is largely up to me...
Below is part of my config:

libraries:
Movies:
remove_overlays: false
collection_files:
- default: genre
template_variables:
collection_section: 009
use_separator: false
collection_order: critic_rating.desc
file_poster: config/assets/

collections:
Recently Added:
url_poster: https://raw.githubusercontent.com/zluckytraveler/Plex-Meta-Manager-Configs/master/zluckytraveler/Posters/Recent/Recently/Recently Added.png
sort_title: 001-Recently Added
smart_filter:
sort_by: added.desc
all:
added: 7
visible_library: true

Recently Released:
url_poster: https://raw.githubusercontent.com/zluckytraveler/Plex-Meta-Manager-Configs/master/zluckytraveler/Posters/Recent/Recently/Recently Released.png
sort_title: 002-Recently Released
smart_filter:
sort_by: release.desc
all:
release: 30
visible_library: true

My goal is to get the "Recently Added" and the "Recently Released" collection for the genre collection. Unfortunately, the result of the above is that the genre collection gets the following collection_section: !9_Collection name. The Recently Released collection will have the sort_title: 001-Recently Added. I would like the Recently Added / Recently Released collection to be displayed for the genre collection.

I hope someone can give me some guidance on this subject. Thank you in advance.```

brittle fern
#

the genre collection gets the following collection_section: !9_Collection name

To prevent this, use:

          collection_section: "009"

But I can't understand what the rest of your question means.

dense cape
#

My question is that I want the default GENRE-collection after the Recently Added and Recently Released collections. I know that if I want to give the default collection a different place I have to fiddle with collection_section. That's why I included this collection_section 009. I give sort_title to collections that I have created myself.

When I give the default collection the collection_section 009 and the recently collections the sort_title 001, I hoped that I would get the order I wanted. Unfortunately that is not the case. I will send a print screen of what it looks like now. So I want it to start with Recently Added.

I hope I have made my question clear and I look forward to hearing from you.

brittle fern
#

I can't understand this sentence:

I would like the Recently Added / Recently Released collection to be displayed for the genre collection

I don't know what "for the genre collection" means in this context.

#

If you want "Recently Added" and "Recently Released" to appear before the genre collections in the collection list, you will need to give them sort titles that alphabetically precede !009_whatever

#

So perhaps !007_Recently-Added and !008_Recently-Released

#

The only thing that controls the order in which those collections appear in that list is the alphabetical order of the sort_title field.

dense cape
brittle fern
#

Yes, I know which ones you mean; I don't understand what "displayed for the genre collection" means. Do you want your posters to appear in place of something there? Is that a typo and you meant "displayed before"?

dense cape
#

Yes, i mean before. Sorry for my bad English..

brittle fern
#

No worries; you just need to give those collections of yours names that sort ahead of the names of the genre collections.

dense cape
#

And I feel like I've already tried everything. I just don't see it. Could you perhaps give me an example? That you get the following result:
1: Default Genre collection collection_section ??
2: recently Added sort_title ??
3: Recently released sort_title ??

I would be very grateful.

brittle fern
#

I gave you a specific example above.

If the genre collections have names like !009_whatever

and you want your two collections to appear before those, then set their sort_title to:

Recently Added: !007_Recently-Added
Recently Released: !008_Recently-Released

And they will appear before !009_whatever in the collection list.

#

The default collections [for the most part] get sort_titles following a pattern. If you want to insert things into that list, you need to assign sort titles following the same pattern.

dense cape
#

Thanks you for your patience and help.

lapis cairnBOT
#

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 Kometa.

brittle fern
#

@dense cape for example:

libraries:
  Kometa-Demo-Movies:
    collection_files:
      - default: genre
      - default: resolution
lapis cairnBOT
#

✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements

brittle fern
#

The sort title on "Western Movies" is !060_Western Movies.

The sort title on the resolution separator is !120_!Resolution Collections

If I want to put a collection between them:

libraries:
  Kometa-Demo-Movies:
    collection_files:
      - default: genre
      - default: resolution
      - file: config/smoozy.yml

With smoozy.yml:

collections:
  Smoozy Test:
    plex_all: true
    sort_title: "!061-All-the-things"

That sort title comes after !060_Western Movies and before !120_!Resolution Collections

lapis cairnBOT
#

✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements

#

✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements

brittle fern
#

If I want to move the resolutions in front of the genres and put the other one in between them:

libraries:
  Kometa-Demo-Movies:
    collection_files:
      - default: genre
      - default: resolution
        template_variables:
          collection_section: '050'
      - file: config/smoozy.yml

New section for resolution

collections:
  Smoozy Test:
    plex_all: true
    sort_title: "!055-All-the-things"

New sort title between res and genre

lapis cairnBOT
#

✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements

#

✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements