Bug: config.yml removing (some) commented out settings
See original GitHub issueProbably 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:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.