question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: config.yml removing (some) commented out settings

See original GitHub issue

Probably related to #363

Describe the Bug If I want to run things quickly for a test, I’ll do something like this to my config.yml

libraries:
  Shows:
    metadata_path:
      # - folder: config/shows/quickfixes
      # - folder: config/shows/series
      # - folder: config/shows/collections
      - folder: config/shows
  # Movies:
  #   metadata_path:
  #     - folder: config/movies/quickfixes
  #     - folder: config/movies/collections
  #     - folder: config/movies
  # Music Videos:
  #   metadata_path:
  #     - folder: config/music-videos/artists
  #     - folder: config/music-videos
settings:

after being run, it deleted my movies and music videos sections, but left the commented out sections under the shows library

libraries:
  Shows:
    metadata_path:
      # - folder: config/shows/quickfixes
      # - folder: config/shows/series
      # - folder: config/shows/collections
      - folder: config/shows
settings:

Plex Meta Manager Info Version: 1.12.1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
meisnate12commented, Jan 23, 2022

PMM never overwrites the metadata files it only overwrites the config.yml file

0reactions
rclark213commented, Jan 24, 2022

PMM never overwrites the metadata files it only overwrites the config.yml file

My mistake - this occurred in the config file and I just remembered incorrectly. Thanks for the tip on avoiding the issue in the future, and thanks for all the work you’re putting into PMM.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug] Preserve comments and styling in YAML configuration
Whenever I update Yarn 2 or I want to test a branch with yarn set version from sources it changes the yarnrc.yml.
Read more >
Codecov not commenting in PRs - Bug Fixes
I send coverage data to Codecov using the codecov/codecov-action@v2 GitHub Action, which is run as part of my “Test” workflow (https://github.
Read more >
"schema violations found" in my config file - CircleCI Discuss
I am not sure if this is a bug, but I just connected to my repository from github, added suggested file config.yml to...
Read more >
Update INI file without removing comments - Stack Overflow
The reason that comments in config files are wiped when writing back is that the write method didn't take care of comments at...
Read more >
Can't remove Maria db due to error in configuration.yaml
You can't leave all keys in there. You'd have to comment out purge_key_days too, or completely comment out recorder and all it's sub...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found