#Custom overlay using builtin as a template

1 messages · Page 1 of 1 (latest)

shut depot
#

Hey gents,
Is it possible to create a custom overlay yaml file that overrides a builtin default overlay? Disclaimer, I'm new to pmm and just following along in this reddit thread to learn it. https://www.reddit.com/r/PleX/comments/1038zce/after_the_news_of_1899_being_cancelled_i_wanted_a/

For example, I know I can do the following in the config
-pmm: <some default>
template_variables: ...

However having all that data copy/pasted per library in the config bothers me. What I'm after is being able to do the above, save it in a yaml and then do the following:

-file: <my preset override>.yaml

vocal shoalBOT
#

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.

marble ermine
#

Yes this is 100% possible

clever thicket
#

You'd create your custom overlay and then just not use the default one.

marble ermine
#

this is my version of that file with my own tweaks, I save it as status.yml and then do:

libraries:
  TV Shows:
    overlay_path:
      - file: config/status.yml
#

@shut depot uparrow

shut depot
#

Ah, gotcha. Still reading through docs to try and understand how the system works. Was hoping that something as simple as the following would work:

config:
-file: myfile.yaml

myfile.yaml:

overlays:
  somename:
    template: status
    template_vars: ...
#

thanks for the speedy reply @marble ermine

blazing coral
#

It’s kinda like that…