#trouble with config file no libraries

1 messages · Page 1 of 1 (latest)

jade obsidian
#

hi im having trouble my config im getting no libraries error ?

opaque nebula
#

Welcome!

It looks like you have not yet completed #938455615741775902, this will allow us to help you quicker.

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.

jade obsidian
gritty stirrup
#

Indentation is very wrong in that config.

#

I'm not even sure what to suggest; it's so bizarre.

jade obsidian
#

ok thanks

gritty stirrup
#

For example looking at the first library:

Libraries:
Movies:
  template_variables:
    sep_style: gray
    collection_mode: show_items
    language: en
    placeholder_imdb_id: tt8579674
  metadata_path:
    - pmm: seperator_awards
    - pmm: choice
    - pmm: golden
    - pmm: oscars
    - pmm: other_chart
    - pmm: flixpatrol
    - pmm: imdb
    - pmm: tmdb
    - pmm: trakt
    - pmm: genre
    - pmm: actor
template_variables:
  data:
    depth: 20
    limit: 60
style: signature
sort_by: title.asc
use_seperator: false
seperator_style: purple
tmdb_person offset:
  Richard Brooks: 1
  -pmm: director
template variables:
  data:
    depth: 10
    limit: 15
  style: signature
  use_seperators: false
  sep_style: purple
  tmdb_person_offset: null
  Richard Brooks: 1
template:
  - file: config/Essentials.yml
  - file: config/subgenre_top.yml
  - file: config/some-movies.yml
  - file: config/awardsAndRandom.yml
  - file: config/subgenre.yml
overlay_path:
  - remove_overlays: false
  - reapply_overlay: false
  - pmm: audio_codec
  - pmm: language_count
  - pmm: commonsense
  - pmm: flixpatrol
    template_variables:
      position: left
      time_window: this_year
  - pmm: languages
  - pmm: languages
    template_variables:
      use_subtitles: true
  - pmm: mediastinger
  - pmm: ratings
    template_variables:
      rating1: user
      rating1_image: rt_tomato
      rating2: critic
      rating2_image: imdb
      rating3: audience
      rating3_image: tmdb
  - pmm: resolution
  - pmm: ribbon
  - pmm: streaming
  - pmm: versions
  - pmm: video_form

Everything from "Movies" on needs to be two spaces indented.

jade obsidian
#

ok thanks ill work at it

gritty stirrup
#

Like this:

Libraries:
  Movies:
    template_variables:
      sep_style: gray
      collection_mode: show_items
      language: en
      placeholder_imdb_id: tt8579674
    metadata_path:
      - pmm: seperator_awards
      - pmm: choice
      - pmm: golden
      - pmm: oscars
      - pmm: other_chart
      - pmm: flixpatrol
      - pmm: imdb
      - pmm: tmdb
      - pmm: trakt
      - pmm: genre

But then it breaks down for me:

      - pmm: actor
template_variables:
  data:
    depth: 20
    limit: 60
style: signature
sort_by: title.asc
use_seperator: false
seperator_style: purple
tmdb_person offset:
  Richard Brooks: 1

I imagine that all that is intended to go under the actor default:

      - pmm: actor
        template_variables:
          data:
            depth: 20
            limit: 60
          style: signature
          sort_by: title.asc
          use_seperator: false
          seperator_style: purple
          tmdb_person offset:
            Richard Brooks: 1

and maybe directors is similar?

      -pmm: director
       template variables:
         data:
           depth: 10
           limit: 15
         style: signature
         use_seperators: false
         sep_style: purple
         tmdb_person_offset: null
           Richard Brooks: 1

But in both cases you are turning off separators and setting a style for separators.

This doesn't go in config.yml:

template:
  - file: config/Essentials.yml
  - file: config/subgenre_top.yml
  - file: config/some-movies.yml
  - file: config/awardsAndRandom.yml
  - file: config/subgenre.yml

The overlay section also needs to be indented:

    overlay_path:
      - remove_overlays: false
      - reapply_overlay: false
      - pmm: audio_codec
      - pmm: language_count
      - pmm: commonsense
      - pmm: flixpatrol
        template_variables:
          position: left
          time_window: this_year
      - pmm: languages
      - pmm: languages
        template_variables:
          use_subtitles: true
      - pmm: mediastinger
      - pmm: ratings
        template_variables:
          rating1: user
          rating1_image: rt_tomato
          rating2: critic
          rating2_image: imdb
          rating3: audience
          rating3_image: tmdb
      - pmm: resolution
      - pmm: ribbon
      - pmm: streaming
      - pmm: versions
      - pmm: video_form

The last one should probably be video_format

Also note that separator is misspelled: should be separator. Also seperator_awards should be separator_award

#

Haven't looked further but I imagine TV is similar.