[50] allow metadata_path to still work for metadata

pull/1774/head
meisnate12 1 year ago
parent 484185865b
commit 0ae7668482

@ -1 +1 @@
1.19.1-develop49
1.19.1-develop50

@ -200,7 +200,9 @@ class ConfigFile:
if not self.data["libraries"][library]:
continue
if "metadata_path" in self.data["libraries"][library]:
self.data["libraries"][library]["collection_files"] = self.data["libraries"][library].pop("metadata_path")
path_dict = self.data["libraries"][library].pop("metadata_path")
self.data["libraries"][library]["collection_files"] = path_dict
self.data["libraries"][library]["metadata_files"] = path_dict
if "overlay_path" in self.data["libraries"][library]:
self.data["libraries"][library]["overlay_files"] = self.data["libraries"][library].pop("overlay_path")
if "radarr_add_all" in self.data["libraries"][library]:

Loading…
Cancel
Save