#Help creating basic collections - log included

1 messages · Page 1 of 1 (latest)

tidal sable
#

Hey, I’ve tried and failed for some days now to populate the standard offering collections. I can see errors in the log but after troubleshooting myself still cannot understand and resolve. It looks like my Trakt has authorised correctly after using the python web page on the PMM site. Thx in advance for helping me to understand and solve this and get some nice collections!

weak lodgeBOT
#

Welcome @tidal sable!

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.

weak lodgeBOT
#

📝 If you want to review this again, djmurphy.:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝

#
**Rec 02** - 💥 **YAML ERROR**

💥 YAML ERROR
YAML is very sensitive with regards to spaces and indentation.
Search for ruamel.yaml. in your log file to get hints as to where the problem lies.
In the PMM discord thread, type !yaml and !editors for more information.
For more information on handling YAML issues, [https://www.metamanager.wiki/en/latest/pmm/yaml/]
1 line(s) with YAML errors. Line number(s): 286

frozen garden
#

with this, pmm thinks you have a library called collection_files and one called metadata_path

libraries:                       # This is called out once within the config.yml file
  Movies:                        # These are names of libraries in your Plex
  collection_files:
    - pmm: trakt
    - pmm: flixpatrol
    - pmm: streaming
    - pmm: universe
    - pmm: seasonal
    - pmm: decade
  metadata_path:
    - pmm: basic                 # This is a file within PMM's defaults folder
    - pmm: imdb                  # This is a file within PMM's defaults folder
    - pmm: trakt```
tidal sable
#

Thanks how should I structure to define those seperately?

frozen garden
#

fix the spacing

#

and metadata_path, should actually be metadata_files, but those listed under metadata_path should actually be under collection_files

tidal sable
#

Sorry could you structure it and send back so that I ensure I get it right. This is my first time editing configs, much more a gui guy😂

frozen garden
tidal sable
#

Thx Antwan you are the man! Anything else stupid I’ve done here?

frozen garden
#

you will need to add all your settings at the bottom as the bot redacts a lot of that

tidal sable
#

Yeah got ya

#

For the collections I only need Trakt, tvdb, and plex auth details populated is that right? I think I done all that part correctly.

frozen garden
#

it appears yes

tidal sable
#

Thx looking at the log you sent back

frozen garden
#

i didn't send a log back, i sent a corrected yml

tidal sable
#

Was metadata_files removed entirely?

#

Sorry yeah yml

frozen garden
#

you don't need it for anything you have there

tidal sable
#

Ah ok understood

frozen garden
#

everything you had under metadata, was actually collection

tidal sable
#

Logs are much longer now when running

#

A good sign!

frozen garden
#

what editor are you using?

#

we recommend VS CODE with a couple plugins

crisp robinBOT
#

We highly recommend to use a decent editor software to manage PMM's .yml files.

Standard text editors (such as Notepad and TextEdit) often save text in a rich-text format which can result in text formatted in a way that PMM cannot read. But not only that, they also make it very hard to visually distinguish the formatting, such as indentation.
PMM requires indents to always be multiples of 2 spaces, and not TAB stops. If you have one space too much, or too few, it is very hard to notice that with a editor like Notepad.
An editor that is more focused on editing code instead of text will automatically detect the .YML fileformat and adjust things to make it easier to work. They can also try to detect possible errors even before you actually run the .yml in PMM.

This can save a lot of time and headaches.

Preferred:
Visual Studio Code (Windows/Mac/Linux, Opensource & Free) Website
Additionally, install the indent-rainbow by oderwat extension and the YAML by Red Hat extension and leverage our schema.json file by adding this to the top of your config.yml file: # yaml-language-server: $schema=https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/json-schema/config-schema.json

Other options:
Notepad++ (Windows only, Opensource & Free)
Website

Sublime Text (Windows/Mac/Linux, Paid)
Website

For further details and a short list of highly recommended extensions, you can also take a look here.

Here is an example of how Visual Studio Code works with indent-rainbow plugin and using our PMM schema (Click on image to get a better view):

tidal sable
#

I’m actually working out of a self hosted web site and it’s browsing the code from there, rather than a standalone app, so I’m not actually sure. I’ll check out VS Code though for future thx

#

Last q hopefully and it’s largely off-topic. I can see my collections generating. Is there a way to see them by default directly on the home page of Plex rather than browsing through movies>collections?

frozen garden
#

each collection would have a template variable in the wiki, but generally the template variable would be visible_home_<<key>>: true

tidal sable
#

Ok thx I’ll test that tomorrow

thorn breach
#

@tidal sable Anything further needed here? If not, please type /close and hit enter.