#PMM not running completely as intended

1 messages · Page 1 of 1 (latest)

serene lark
#

So I made my first PMM config from a bit of help from great people on this channel/server. It ran perfectly for a few times till the time it didn't.
I'm unable to see the 50's decade and adding new actors/studios also doesn't seem to be picked up. the biggest change i realized is that instead of running for hours like it did on the first few runs, it only runs for a few minutes.

'''libraries:
"爪ㄖᐯ讠🝗丂":
metadata_path:
- file: config/movies.yml
- pmm: basic
- pmm: imdb
- pmm: oscars
- pmm: imdb
- pmm: flixpatrol
- pmm: seasonal
overlay_path:
- remove_overlays: false

- pmm: ribbon

"丂卄ㄖ山丂":
metadata_path:
- file: config/tv2.yml
- pmm: basic
- pmm: imdb
- pmm: oscars
- pmm: imdb
- pmm: flixpatrol
overlay_path:
- remove_overlays: false
- pmm: ribbon
"ᗪ卄闩闩尺闩ᐯ闩卄讠长":
metadata_path:
- file: config/hin2.yml
- pmm: basic
- pmm: imdb
- pmm: oscars
- pmm: imdb
- pmm: flixpatrol
overlay_path:
- remove_overlays: false
- pmm: ribbon
"⼕闩尺セㄖㄖ𝓝丂":
metadata_path:
- file: config/tv2.yml
- pmm: basic
- pmm: imdb
- pmm: oscars
- pmm: imdb
- pmm: flixpatrol
- pmm: anilist
overlay_path:
- remove_overlays: false
- pmm: ribbon
"ᗪ讠丂⼕ㄖᐯ🝗尺丫":
metadata_path:
- file: config/tv2.yml
- pmm: basic
- pmm: imdb
- pmm: oscars
- pmm: imdb
- pmm: flixpatrol
overlay_path:
- remove_overlays: false
- pmm: ribbon
"ᗪㄖ⼕ㄩ爪🝗𝓝〸闩尺讠🝗丂":
metadata_path:
- pmm: basic
- pmm: imdb
- pmm: oscars
- pmm: imdb
- pmm: flixpatrol
overlay_path:
- remove_overlays: false
- pmm: ribbon
plex:
'''
rest of the code

lofty needleBOT
#

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.

#

This post has been marked as Resolved and will be closed in one hour.

If you require further assistance on this issue, you can send another message in this post to re-open it.

If you require further support that is unrelated to this post, please start a new post and do not re-open this one.

Thanks for using Plex Meta Manager.

serene lark
serene lark
little pagoda
#

can you provide a log file please

frank cryptBOT
#

If you are not already in one, open a thread in #pmm-help

Find meta.log in config/logs/

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

Log file too big? USE PASTEBIN or ZIP THE FILE

Still confused? ¯\(ツ)

little pagoda
#

and if you can provide an example of who doesn't work, that would help

serene lark
#

In the people collection the very first for example
'''AAmir Khan:
template: {name: people, person: 52763}'''

serene lark
little pagoda
#

you have a duplicate key

serene lark
#

Also can you tell me how to update the config with url? I found a guy who's added a lot of stuff luckytraveler.

little pagoda
#

you have a lot of bad indentation on the template line, compare Ranveer Singh to Reese Witherspoon

little pagoda
#

Worth noting that file is a duplicate of our PMM Defaults file

#

- pmm: studio

#

anything that mentions the "PMM" directory within the configs directory is a duplicate of a Defaults file - we used to host them on the repo, but since move over to the - pmm: versions.

trail zephyr
#

not even a dupe. That file is 5 months old

#

its an older dupe i guess you could call it

serene lark
little pagoda
#

hopefully you can see the issue on my screenshot?

serene lark
#

oh ok... got it... should be an easy fix

little pagoda
#

the second line compared to the fourth line here

#

the indentation on the fourth line is correct, the second is wrong

#

you have it in quite a lot of places

serene lark
#

yes. i only added a single space. i thought i was replacing the id with id but i guess not

#

done. check now... i understood the actor and the template had the same indentation

#

here is the screen

little pagoda
#

that looks better 🙂

trail zephyr
#
  Shah Rukh Khan:
  template: {name: people, person: 35742}
  Shia LaBeouf:
    template: {name: people, person: 10959}
serene lark
#

oops... amybe missed 1

little pagoda
#

oh yeah I expected bhoot to go through the entire list, not just the bit I highlighted 😄

#

oh I only saw the screenshot hahaha

serene lark
#

LoL sorry... 😐

little pagoda
#

my bad trying to do this whilst on a work call 🤣

serene lark
#

BTW... not sure if u remember my font... some people did get nightmares and stopped using plex

trail zephyr
#

im building a villager trading farm in minecraft on my main screen lol

little pagoda
#

yes as soon as I saw the font I cried

#

Also just FYI if you're using - pmm: studio, you're going to have duplicate collections

serene lark
little pagoda
#

A lot of these collections can be covered by the defaults:

- pmm: genre
- pmm: seasonal
- pmm: studio
- pmm: decade
serene lark
#

his studios did look more than the default pulled by default

#

somehow eg...MCU is not added... DC not added

little pagoda
#

well MCU isn't a studio

serene lark
#

50s is missing as well

little pagoda
#

that would be a - pmm: universe

serene lark
#

i meant on the collection

little pagoda
#

gotcha

serene lark
#

would the
''' - pmm: universe '''
work with tv shows as well?

little pagoda
#

No

serene lark
#

ok

#

ty... ill just rerun the pmm and get back with updates/logs.. wish me luck

serene lark
#

Working now with new actors... Adding a few more (with confidence)

frank cryptBOT
#

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.

Visual Studio Code (Windows/Mac/Linux, Opensource & Free)
Website

**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 at our Reddit post.

lofty needleBOT
#

This post has been marked as Resolved and will be closed in one hour.

If you require further assistance on this issue, you can send another message in this post to re-open it.

If you require further support that is unrelated to this post, please start a new post and do not re-open this one.

Thanks for using Plex Meta Manager.

serene lark
#

This is the error from the 50's decade movies.

little pagoda
#
  40's Movies:
    template: {name: Decade, year: 1940, poster: https://theposterdb.com/api/assets/105676}
  50's Movies: 
    template: {name: Decade, year: 1950, oster: https://theposterdb.com/api/assets/105677}
  60's Movies:
    template: {name: Decade, year: 1960, poster: https://theposterdb.com/api/assets/105331}
#

you misspelt poster on 50s 🙂

#

"oster"

lofty needleBOT
#

This post has been marked as Resolved and will be closed in one hour.

If you require further assistance on this issue, you can send another message in this post to re-open it.

If you require further support that is unrelated to this post, please start a new post and do not re-open this one.

Thanks for using Plex Meta Manager.

serene lark
terse ether
#

Vous avez un problème de yml.

frank cryptBOT
#

Most of the common issues with Metadata files is that they have common validation issues (such as incorrect indentation, missed colons : or commas ,.)

The easiest way to check for this is to copy and past the text from your <filename>.yml file into a YML Validator such as:

Once you have pasted your file, you should get a message similar to "Valid YAML". If you do not get this message, it indicates that something is structured incorrectly within your file and requires further investigation.

Please send or screenshot the result of your YAML validation so that we can support you further.

fluid lance
#

The error in the log points right at the problem.

serene lark
serene lark
fluid lance
serene lark
#

from what I'm guessing ''' template variables ''' appeards three times.

fluid lance
#

So, let's look at the config:

18     - pmm: commonsense
19     # - pmm: direct_play
20     - pmm: flixpatrol
21       template_variables:
22         position: left
23         time_window: this_year
24     #- pmm: languages
25     #- pmm: languages
26       template_variables:
27       #  use_subtitles: true

Line 20 is the start of the flixpatrol section, and the error also points to line 26.

serene lark
#

this is the code i copied... let me # the first 2 out of 3 and see

#

should that be good?

fluid lance
#

I'm explaining it in detail but if you want me to skip that I'm happy to let you figure it out on your own.

#

Note that there are two template_variables: lines at the same level:

18     - pmm: commonsense
19     # - pmm: direct_play
20     - pmm: flixpatrol
21       template_variables:   << HERE
22         position: left
23         time_window: this_year
24     #- pmm: languages
25     #- pmm: languages
26       template_variables:   << HERE
27       #  use_subtitles: true
#

duplicate key "template_variables"

#

You really need to take an hour and gain an understanding of YAML syntax before doing this sort of thing.

#

This is a structured file format with specific rules. You can't just wing it.

serene lark
#

ok. noted. i just assumed nicking someone's code would work. anyways, i have #ed the first 2 and running with the 3rd un#'ed

fluid lance
#

i just assumed nicking someone's code would work

It would have worked had you not messed with it.

Alternately, had you messed with it correctly, it would have worked.

serene lark
#

seems to be running now

serene lark
fluid lance
#

Generally speaking, YOLOing someone else's PMM config into yours without understanding exactly what you're doing will typically end in tears.

serene lark
#

do you suggest using the entire onfig of bullmoose20 with fonts in the /config/overlays/ is a better option?
obviously i would need to fill up the redacteed info and rename my libraries

fluid lance
#

Personally I think that one is overkill. I don't see the point in all those overlays.

serene lark
fluid lance
#

If you want an everything config that works out of the box, though, it should work fine.

#

The more significant goal, though, is to gain an understanding of the files you are manipulating, because posting a log for someone to review when the error is unambiguously indicated in that log gets old.

pearl ginkgo
#

I learned from experience don’t start screwing with the yml when you have not clue what you are doing. Especially when you don’t know how to read a basic error in a log 🪵. Then you started commented stuff that you had no clue what you were commenting.