#Studio Variable
1 messages · Page 1 of 1 (latest)
You can press the "Close Post" button above or type !close at any time to close this post.
The formatting got a little off on my copy paste but I am following the walkthrough on the wiki
Post your log please or use code blocks
| 1 | YAML Error: while parsing a block mapping
The formatting is incorrect.
Can you provide a full log?
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
Note the difference between these two lines:
- pmm: seasonal
-pmm: studio
corrected that error, saved, error is the same
Probably not at the same line number. What's the new log?
i think its suppossed to be
- pmm: studio
template_variables:
data:
include:
- Walt Disney Animation Studios
- Pixar Animation Studios
- DreamWorks Animation
The script is running!
Also that file line is missing the leading -.
on my confg/movies.yml?
copy that, thank you. running the script now
that file has no data in it at the moment
OK, but the config still needs correct syntax.
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.
Can you provide the full log?
"provide log" command detected, if you need more information on how to provide log files, type !logs
- 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?
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
It's not listed as a template variable for that default:
https://metamanager.wiki/en/latest/defaults/both/studio.html#default-include
and the examples don't include it.
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
And in Plex they are listed as "Pixar Animation Studios" and "DreamWorks Animation"?
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?
use_separator: false under template_variables
thanks again!