Chapter 11 November 2026 · Foundations
The Day I Accidentally Started Building a Music Player
The original plan was simple: build something that could synchronize playlists to my car.
Then I realized that, to synchronize playlists properly, I first needed a music library.
And if I was going to have a music library, I might as well be able to play the songs.
And if I could play the songs, surely I needed album browsing, artist views, playlists, search, and a proper playback interface.
You can probably see where this is going.
By the end of the first day, the project had expanded into eight development phases.
The music library
EnigmaTunes could scan folders and build a fast SQLite database of songs without relocating the original files.
The goal was to handle collections of more than 20,000 songs smoothly.
Because apparently, collecting thousands of songs is perfectly normal, but waiting three seconds for a music library to respond is unacceptable.
A complete music player
Playback controls, Up Next, shuffle, repeat, keyboard media keys, and macOS Control Center integration were added.
The player could also remember its queue and playback position between launches.
Even if I forgot what I was listening to yesterday, at least the software wouldn't.
A familiar browsing experience
Songs, Albums, Artists, search, and a bottom playback bar gave the application an Apple Music-inspired structure.
I wanted something visually familiar, intuitive, and comfortable to use.
Playlists
I added playlist creation, drag-and-drop song management, and manual ordering.
This was supposed to be the heart of the original project.
Ironically, it was now just one feature among many.
Intelligent song identification
Using AcoustID and MusicBrainz, EnigmaTunes could analyze a song's audio and suggest its title, artist, album, and missing cover artwork.
Every proposed change required approval.
The feature that started everything: USB Sync
Finally, the original idea came to life.
EnigmaTunes could copy selected playlists to a USB drive, convert incompatible formats into 320 kbps MP3 files, generate playlist files, and keep track of previously synchronized content.
Future synchronizations would transfer only what had changed.
Before writing anything, it would show a dry-run plan so I could review what was about to happen.
Settings and Get Info
Library folder management and manual tag editing were introduced, alongside song-specific playback options such as start and stop times, volume adjustment, equalizer presets, resume position, and shuffle exclusion.
And because I apparently had nothing better to do...
Lyrics, favorites, a full-window Now Playing view, Recently Added, playlist artwork, a splash screen, and the Home page also joined the party.
By this point, my original USB synchronization tool had quietly become a full-fledged music application.
I should probably have been concerned.
Instead, I was already planning the next features.


