#Unable to add labels to TMDB franchise collections

1 messages · Page 1 of 1 (latest)

inner mural
#

i'm trying to generate TMDB franchise collections split in 3 (basically italian franchises, trash/b-movie franchises and normal franchises), order them in different sections, and then conditionally add a label to the collections. the objective is to generate all franchises, split them up so they're easier to navigate and hide the local/crappy ones from certain users

i'm having trouble adding a label, no matter what i do the collections always only have Franchises and PMM. looking at the logs it seems my conditional variable is parsed correctly but the label isn't added. is it possible to add a label to a dynamic collection?

pure tundraBOT
#

Please complete #938455615741775902 and someone from the community or one of our <@&938443185347244033> members will respond when they're available.

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

inner mural
#

yml:

templates:
  tmdbDynamic:
    default:
      min_items: 2
      value_backup: <<value>>
    optional:
      - add_item_label
      - add_movies
    conditionals:
      section:
        default: 99
        conditions:
          - value_backup: [
                            ['926177'], # aldo g e g
                            # ...other ids
                          ]
            value: 93
          - value_backup: [
                            ['385720'], # zebraman
                            # ...other ids
                          ]
            value: 99z
      add_collection_label:
        conditions:
          - section: [93, 99z]
            value: Hidden-Caraffi
    label: <<add_collection_label>>
    tmdb_collection_details: <<value>>
    tmdb_movie: <<add_movies>>
    sync_mode: sync
    minimum_items: <<min_items>>
    sort_title: "!<<section>>_<<collection_name>>"
    collection_mode: hide
    collection_order: release.asc

dynamic_collections:
  Franchises:
    type: tmdb_collection
    remove_suffix: Collection
    remove_prefix: The
    template: tmdbDynamic
    template_variables:
      min_items:
        default: 2
      add_movies:
        133923: # zombi
          - 5796 # zombi 4
        17178: # jackass bad grandpa
          - 208134
          - 27364
        1960: # evil dead
          - 2186 # within the woods
          - 109428 # evil dead reboot
    exclude:
      [
        135416, 399, 8091, 115762, # prometheus, predator, alien, avp,
        989621, # bad grandpa
      ]
#

parsed and then ignored

pseudo marsh
#

This is fixed in nightly