| name | add-cdrom-floppy-library-entries |
| description | Add Internet Archive CD-ROM and floppy library entries to Infinite Mac by using the repository archive metadata helper, choosing friendly names/categories, creating CD-ROMs/*.json manifests, adding CD cover_image values when possible, and validating media URLs. Use when asked to populate or update Infinite Mac CD-ROM/floppy drawer entries from archive.org item URLs or identifiers. |
Add CD-ROM/Floppy Library Entries
Workflow
- Run
scripts/internet-archive-item-info.py on all supplied archive.org URLs or identifiers.
- Use
references/manifest-guidelines.md for category, naming, disk selection, and manifest-field rules.
- Create one JSON manifest per mountable image under
CD-ROMs/<Category>/.
- Validate only with
scripts/import-cd-roms.py --validate <new manifest paths>. Do not perform separate URL fetching or image analysis; assume the info script returned valid archive data, and rely on deterministic scripts for validation.
Commands
Lookup one or more archive items:
scripts/internet-archive-item-info.py https://archive.org/details/example_item
scripts/internet-archive-item-info.py --input-file archive-urls.txt
Validate a batch of created manifests:
scripts/import-cd-roms.py --validate CD-ROMs/Category/Example.json
Notes
- Keep manifests small. Do not add checksums or sizes to
CD-ROMs/*.json; those are generated by the importer.
- Do not add
cover_image_inset; leave cropping to a human.
- Use
apply_patch for manifest and skill edits.
- At the end of every ingestion session, consider whether
scripts/internet-archive-item-info.py should be updated to make similar future items easier to ingest, such as adding a missed image extension or improving a cover/image-selection heuristic.