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).
This commit is contained in:
Steven (Zen) 2026-08-11 14:00:33 -06:00
parent 3d37235238
commit 9fe61f6b7a

View File

@ -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)