Plex-Meta-Manager
Plex-Meta-Manager copied to clipboard
Critical error when `metadata_backup` is defined without a path.
Version Number
1.20
What branch are you on?
master
Describe the Bug
(I am omitting irrelevant configuration lines below)
This configuration worked in 1.19:
libraries:
Movies:
operations:
metadata_backup:
add_blank_entries: false
This now causes a crash:
Traceback (most recent call last):
File "/modules/config.py", line 872, in __init__
default_path = input_dict["path"]
~~~~~~~~~~^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ruamel/yaml/comments.py", line 851, in __getitem__
return ordereddict.__getitem__(self, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'path'
To fix I had to update my config:
libraries:
Movies:
operations:
metadata_backup:
add_blank_entries: false
path: config/Movies_Metadata_Backup.yml
Relevant Collection/Overlay/Playlist Definition
No response
Logs
https://gist.github.com/sgtsquiggs/74ff90411f0a3afc31f08f59f62be0ec