Was previously using PMM and had figured out the perfect tweaks for my libraries but when things switched to Kometa, I did not keep up. That said, after a few months, I figured I'd let the bugs work out but I cannot seem to get my config.yml to play nicely and I've been going back and forth from log file to config yaml trying to get it to work. I don't want to give up but I also don't want to waste more of my own time either.
If someone could help me pinpoint my error(s), I would be forever grateful.
Just let me know what you'd like to start with
#Looking for some help with my config if anyone could be so kind
1 messages · Page 1 of 1 (latest)
Welcome @raven wasp!
Someone from <@&938443185347244033> will assist when they're available.
Including meta.log from the beginning is a huge help. Type !logs for more information.
After attaching your log, do not forget to hit the green check boxes when prompted by our bot.
You can press the "Close Post" button above or type /close at any time to close this post.
Please provide a log showing what's going on.
📝 If you want to review this again, irishcal:
: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> 📝
**User Info**
Author of Linked Message: CAL
Person who Invoked the Command: Antwan
File Name: meta.log
Table of Contents:
Page 01: User Info
Page 02: Kometa Info
Page 03: Kometa Summary Info
Page 04: Kometa Config.yml YAML Validation ❌
Page 05: Rec 01 - 💥 [CRITICAL]
Page 06: Rec 02 - 💥 YAML ERROR
Page 07: Rec 03 - ❌🛠️ INCOMPLETE LOGS
Page 1/7
this config is a mess
There's a lot of broken indentation in there.
you have several defaults comments out, but kept their template variables, and then the indentation is broken
okay, that's a good start for me then. I don't think I realized the template variables were connected to - default
TV Shows:
-file: config/missing/TV Shows.yml
collection_files:
needs to be:
TV Shows:
collection_files:
- file: config/missing/TV Shows.yml
idk why i thought that but that's making sense
This:
- default: streaming
schedule: hourly(14-18)
template_variables:
collection_section: '001'
...
needs to be:
- default: streaming
schedule: hourly(14-18)
template_variables:
collection_section: '001'
...
Okay I've addressed the collection files above -file as well as all instances of schedule too far indented
any reason why I get "mapping values are not allowed here" at line 14, column 15
bad indentation most likely
indentation here is broken:
schedule_overlays: hourly(12-14)
overlay_files:
#- reset_overlays: plex
- remove_overlays: false
- default: mediastinger
- default: ribbon
I'd probably start by simplifying this dramatically; it's hard to track all the indentation issues in the many many lines.
Honestly, you've both been really helpful already, I will continue looking at indentations and addressing accordingly from the top
The structure throughout your config should follow this flow/indentation - go through each one and see if the indentation lines up
libraries:
MyLibrary:
collection_files:
- file: something
- default: something
template_variables:
something: somethingvalue
overlay_files:
- file: something
- default: something
template_variables:
something: somethingvalue
playlist_files:
- file: something
- default: something
template_variables:
something: somethingelse
Generally, I'd suggest commenting like this:
libraries: # This is called out once within the config.yml file
# Movies-NotYet: # These are names of libraries in your Plex
# remove_overlays: false # Set this to true to remove all overlays
# collection_files:
# - default: basic # This is a file within Kometa's defaults folder
# - default: imdb # This is a file within Kometa's defaults folder
# overlay_files:
# - default: ribbon # This is a file within Kometa's defaults folder
TV Shows:
...
rather than this:
libraries: # This is called out once within the config.yml file
#Movies-NotYet: # These are names of libraries in your Plex
#remove_overlays: false # Set this to true to remove all overlays
#collection_files:
#- default: basic # This is a file within Kometa's defaults folder
#- default: imdb # This is a file within Kometa's defaults folder
# see the wiki for how to use local files, folders, URLs, or files from git
#overlay_files:
#- default: ribbon # This is a file within Kometa's defaults folder
# see the wiki for how to use local files, folders, URLs, or files from git
TV Shows:
...
Just because it's easier to see what's commented and can be skipped when looking at the file.
✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements
✅ YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements
THANK YOU @fallen current and @halcyon sinew!!!!!!! I have finally fixed my config with your suggestions!
How do I thank you both enough??!
Donate to Kometa!
Kometa would not be a success if it wasn't for all the people that spend hours and hours of their personal time to help others out with:
:one: creating/updating/maintaining the Kometa code
:two: creating/updating/maintaining all of the posters
:three: creating/updating/maintaining all the yml files to create the overlays and collections
:four: creating/updating/maintaining all the wiki documentation
:five: handling all the support and installation requests
:six: moderating the discord community server for Kometa
:seven: creating/updating/maintaining the logscan and other Discord bot functions/tools
As such, if ever you have used any of the above over here, why not consider a small donation (one time or monthly) to help the cause?
Click here to help us out with a donation: https://github.com/sponsors/meisnate12
If you do choose to donate, let us know and we'll give you the sponsor role
If you're happy for this thread to be closed, use the /close command
Just donated!!
Sponsor role given! Thanks for supporting 🙂