From 9fe61f6b7a23f41cf13d99a2fca5f09fa2b1bf71 Mon Sep 17 00:00:00 2001 From: "Steven (Zen)" Date: Tue, 11 Aug 2026 14:00:33 -0600 Subject: [PATCH] Fix import: use exact filename stem as Eagle name field Eagle matches metadata.json "name" to the actual filename stem exactly. Prettifying names (replacing hyphens, stripping numbers) caused Eagle to show empty folders. Also add Python import script (replaces bash version). --- import_masterclass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/import_masterclass.py b/import_masterclass.py index 8baf140..0f11d41 100644 --- a/import_masterclass.py +++ b/import_masterclass.py @@ -195,7 +195,7 @@ def main(): try: ext = filepath.suffix.lower().lstrip(".") stem = filepath.stem - display_name = clean_name(stem) + display_name = stem # Must match filename stem exactly for Eagle to find the file item_id = gen_id() item_dir = IMAGES / f"{item_id}.info" item_dir.mkdir(parents=True, exist_ok=True)