#Order of collections (not the movies and TV shows in the collection)

1 messages · Page 1 of 1 (latest)

agile kayak
#

Can I have plex meta manager display the collections in the order I want? Needless to say, I don't mean the order of the movies and TV shows in the collections. Please let me know if that is possible.

whole domeBOT
#

Welcome @agile kayak!

Someone from <@&938443185347244033> will assist when they're available.

Including the meta.log from the beginning is a huge help, type !logs for more information.

#

You can press the "Close Post" button above or type /close at any time to close this post.

lunar prism
#

Yes, it is possible. The way to do this is by changing the sort title of the collections to reflect the order that you want them to appear in. For example, a collection with the title "010_MyCollection" will show before one with the title "030_MyCollection2". If you are using the default pmm metadata yml files (pmm: imdb, pmm: actor, etc.) in your config file, you can have "collection_section" as a template variable, which determines then the prefix put into the title of the collection.

#

Here is an example:

#
- pmm: oscars
  template_variables:
    collection_section: '030'
    order_best_picture: '001'
    order_best_director: '002'
    year_collection_section: '130'
- pmm: bafta
  template_variables:
    collection_section: '031'
    year_collection_section: '131'
- pmm: golden
  template_variables:
    collection_section: '032'
    order_best_picture: '001'
    order_best_director: '002'
    year_collection_section: '132'
- pmm: cannes
  template_variables:
    collection_section: '033'
    year_collection_section: '133'
#

For this example, I wanted the Oscars collections to appear first, then the BAFTA, then the Golden Globes and then the Cannes, so I used the collection_section template variable to ensure the order I wanted. Please bear in mind that each pmm default file has a pre-defined collection_section. You can see more here: https://metamanager.wiki/en/nightly/defaults/guide.html

agile kayak
#

Great, thanks for the help, I'll get on with this

agile kayak
placid ore
#

What do you want to happen, what have you tried, what's happening instead?

agile kayak
#

What I want is for the collections to be displayed in the order I want. Starting with Popular, Trending, newly added. I haven't tried it yet because I don't know which collection_section number to try.

placid ore
#

Sure, but are you using the defaults? your own collections? What's the order you want? How are they displaying now? If you're using the defaults, which "Popular", "Trending" or "newly added" are you talking about?

The defaults are in "groups". You can use the "collection section" value to move those groups relative to each other [the default values are listed on each "section"'s wiki page.. You can use "order_*" to move individual members of the group around within the "section".

As an example, I am going to assume you are referring to "Newly Released", "Trakt Popular", "Trakt Trending".

You'd use collection_section to determine whether "Newly Released" appeared before or after the other two.

You'd use order_popular and order_trending to control the order those two appear relative to each other.

Using only the defaults, you couldn't put "Newly Released" in between "Trakt Popular", "Trakt Trending" since they are part of different sections.

If you create you own collections, you can order them however you want using the sort_title.

candid island
#

Closing as no response