#ordering of collection_files

1 messages · Page 1 of 1 (latest)

brave egret
#

First off, please be gentle. I've only just started using Kometa and I've become addicted!

One issue I'm facing that I've not been able to find a resolution to is my ordering of collections that link out to files. My config collection is below, but what I'm trying to do is to get all the movies in the decades collection first, followed by the collections in the collections.yml, then actions.yml and so on and so forth, however when the collections are generated the contents of the actors.yml comes before collections.yml.

Any help would be appreciated.

`collection_files: &paths
  - file: config/decades.yml
  - file: config/collections.yml
  - file: config/actors.yml
  - default: basic
  - default: imdb                 
    template_variables:
      name_popular: IMDb Popular Movies   
      use_lowest: false
      visible_home_top: true   
      visible_home_popular: true    #run once to create list in home settings
  - collection_order: custom `
humble basinBOT
#

Welcome @brave egret!

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.

brave egret
#

Yep, sorted it. For anyone facing a similar challenge you can fix it by adding a sort_title in each of the files.

E.g
sort_title: +10_<<collection_name>>
sort_title: +20_<<collection_name>>
sort_title: +30_<<collection_name>>

split otter
#

The positioning of collections is controlled by their sort titles, not their position in the config file.

#

This:

     - collection_order: custom 

Isn't valid there and at best is only causing an error in the log.

strong raftBOT
#

antwanchild used !aenh

@brave egret, 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.