#Studio Variable

1 messages · Page 1 of 1 (latest)

lavish gale
#

Welcome!

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.

lavish gale
#

The formatting got a little off on my copy paste but I am following the walkthrough on the wiki

pliant helm
#

Post your log please or use code blocks

ember forge
#

| 1 | YAML Error: while parsing a block mapping

The formatting is incorrect.

Can you provide a full log?

rancid pikeBOT
#

Please use code blocks when sending any code-related text (such as error messages or configuration file extracts.)

The Grave Accent key (`) is used to define code blocks and is typically found to the left of the number 1 key on a standard keyboard.

If you are posting any yaml-formatted text (such as collections), you can add yaml to your Grave Accent keys for coloured formatting. See the below sample text and output

YOU TYPE THIS

`​`​`yaml
collections:
  Documentaries:
    smart_filter:
      all:
        genre: Documentary
`​`​`

DISCORD DISPLAYS

collections:
  Documentaries:
    smart_filter:
      all:
        genre: Documentary
lavish gale
#

I am trying to get collections for 3 studios and exclude all others

ember forge
#

Note the difference between these two lines:

    - pmm: seasonal
     -pmm: studio
lavish gale
#

corrected that error, saved, error is the same

ember forge
#

Probably not at the same line number. What's the new log?

lavish gale
slender crown
#

i think its suppossed to be

- pmm: studio
  template_variables:
    data:
      include:
        - Walt Disney Animation Studios
        - Pixar Animation Studios
        - DreamWorks Animation 
lavish gale
#

The script is running!

ember forge
#

Also that file line is missing the leading -.

lavish gale
#

on my confg/movies.yml?

ember forge
#

should be:

lavish gale
#

copy that, thank you. running the script now

#

that file has no data in it at the moment

ember forge
#

OK, but the config still needs correct syntax.

lavish gale
#

thank you for the quick response! it seems like it just found 1 of the 3 studios and only 5 movies when there are dozens.

ember forge
#

Can you provide the full log?

rancid pikeBOT
#

"provide log" command detected, if you need more information on how to provide log files, type !logs

#

1: Go to your config folder

2: Go into the logs folder

3: Look for meta.log (not meta.1.log etc)

4: Drag it in the Discord thread - the whole thing, DO NOT EDIT IT

5: Still confused? �\(ツ)/�

Log file too big? USE PASTEBIN or ZIP THE FILE

lavish gale
ember forge
#
    - pmm: studio
      template_variables:
          Data:
          include:
            - Walt Disney Animation Studios
            - Pixar Animation Studios
            - DreamWorks Animation
      file: config/Movies.yml

That Data doesn't belong there.

I don't think that's causing the problem, since the config loads.

I'd suggest keeping the indentation constant throughout the file, rather than 2 spaces here and 4 spaces there.

You have movies from those other two studios?

lavish gale
#

I have all the movies from all 3 studios, yes. Another person suggested to add that data line in the same chat, i will remove it

#

i don't think the script ran without the data line

ember forge
lavish gale
#

copy that, i fixed the spacing, removed the data line, and the script is running again

#

i thought if i only included specific studios, it would default to exclude all of the others.

#

it seems to have only found 5 disney movies and none of the other 2 studios again

ember forge
#

And in Plex they are listed as "Pixar Animation Studios" and "DreamWorks Animation"?

lavish gale
#

Well that is a good question, if you take Toy Story 4 for example a famous Pixar movie, I am not sure where in the Plex it shows the studio

#

I think I understand what is wrong, there are a few different Disney and Pixar options

#

I will just have to try some different ones out. When I added Pixar instead of Pixar animation it found 19 movies for example. BUT thank you again for your help with the formatting and all. Do you know how I remove the empty "Studio Collections" box seperating the collections?

ember forge
#

use_separator: false under template_variables

lavish gale
#

thanks again!