Albums from the Internet Archive
How a full-album recording from the Internet Archive becomes a finished, tagged, verified album for the library, with a flowchart you can hand to your own AI.
The Internet Archive holds a vast number of full-album recordings, and some of them are lossless. This page is the flow Mike and Lyra use to take an album from the Archive, convert it as required, pull in the matching MusicBrainz and Discogs data, and build the files for the library. It also covers how Claude helped build it.
To browse the Archive for albums to try, Crate Digger is a way in. This page starts after you have found one.
Here, "mastering" means taking audio from its source to a finished, tagged, checked album folder. The pages in this section are flow and ideas rather than code, because everyone's system is different and your own AI can build the version that fits yours.
Machine and person
Most of the middle is a machine doing the heavy lifting. A person decides and approves at two points, and the last step into the library is always Mike's own hand:
- Decide. Before the build starts, a person chooses the genre and the remaining tags.
- GO. The flow first shows a dry-run preview: the exact tracklist, order, runtime, and cut points, with nothing downloaded. Archive LPs run 300 to 700 MB each, so nothing downloads until a person says go.
What automates well is the cutting, tagging, and verifying. What stays human is whether it is the right album, the genre, and the GO.
The flow
1 Identify the album, vet the source
|
2 MusicBrainz crosscheck
|
3 Discogs lookup
|
4 DECIDE <-- a person
|
5 Write the build recipe, preview it
|
6 GO <-- a person
|
7 Download and cut
|
8 Verify on disk
|
9 VERIFY GATE zero errors or not finished
|
10 Hand off to Mike
What happens at each step
- Identify and vet. Pick the album and check the Internet Archive first, because a lossless copy beats the ceiling of YouTube's lossy audio. A vetting helper rejects items that cannot be grabbed: access-restricted ones, sample-only ones, and ones that are not music at all. Whether an item fits is judged by eye. YouTube is used only when no lossless copy exists.
- MusicBrainz crosscheck. Is this a real, cataloged release? A match is trusted only if the track count matches. If it does, the MusicBrainz ID goes into the tags. If it does not, the album is marked as a Lyra remaster instead.
- Discogs. The label, catalog number, and country come from Discogs. Archive items often already carry the link.
- Decide. A person picks the genre and settles the remaining tags that depend on taste.
- Recipe and preview. The flow writes a build recipe, called a manifest, that says what the finished album should be, then runs the dry-run preview described above.
- GO. A person reviews the preview and says go.
- Download and cut. Each LP side arrives from the Archive as one long 24-bit FLAC. It is cut sample-accurately at the Archive's own cut list, so there is no quality loss. In the YouTube fallback, each track arrives as its own video, as Opus.
- Verify on disk. The flow checks the codec, bit depth, durations against the plan, the tags, and the track total. Anything short or failed is grabbed again.
- Verify gate. Every file gets an error scan, and the tags are checked against the recipe. The rule is zero errors, or the album is not finished.
- Hand off. The finished album waits in a staging area, one folder per album, as FLAC, or Opus for the YouTube fallback. Mike copies it into the library by hand. From there, the usual library pipeline takes over.
Tools in this flow
Third-party tools and services:
- yt-dlp for the YouTube fallback.
- ffmpeg and ffprobe for working with and inspecting the audio.
- ExifTool and TagLibSharp for tags.
- MusicBrainz and Discogs for the release data.
Home-built, written by Claude with Mike: an Internet Archive grabber, plus a few small helpers.
How Claude was used to build it
The tools and the first trial jobs were built earlier, in an older all-in-one music project, before the Production Studio project that now runs these flows. The studio inherited finished tools and written playbooks, so the early trial-and-fix rounds are not recorded here, and this page does not pretend otherwise. What the files do show is a handful of habits worth borrowing:
- Write lessons down as rules, each with the failure that earned it. Two from the project's download work: Archive listings can look fine and still reject downloads, so vet before you plan. A live download piped through a filter can kill the download.
- Dry run first, human GO before anything bulky. The preview shows the exact plan before anything bulky is downloaded.
- Verify on disk, not in the loop's summary. Step 8 re-reads the files instead of trusting that the download reported success.
- Keep the source. Nothing is deleted by rule, so a better source or richer tags later means re-running, not re-finding.
- Check the chart against the code. A read-only AI session can confirm or refute each claim in a flowchart against the real files, with file and line number.
- One short skill file for the flow. It says "read this first, then do these steps, with these gates," so a fresh AI session can pick the job up cold.
Tips for feeding this to your own AI
Your sources, tag scheme, and folders will differ, so describe your own destination first.
- Say what a finished album is in your library: format, tags, folder layout. Then give the AI the flow above as the road to get there.
- Make the AI vet before it plans. Have it reject anything it cannot actually download before it writes a recipe around it.
- Require a real match before trusting a database. The rule here is that a MusicBrainz match counts only when the track count agrees. Pick your own rule and state it.
- Ask for a recipe and a preview before any download, and say plainly that nothing runs until you approve.
- Use the source's own cut list when it has one, and cut without re-encoding.
- Make verification read every file. For example: "Re-open every file and check the codec, durations, and tags against the recipe. Do not summarize from the download log."
- Keep the downloads. If a better source or richer tags turn up later, you re-run the recipe instead of hunting again.
Back to B-Sides. Next: Making Mixtapes.