AudioShelf has reached 10,000 downloads. It has also had Premium purchases. Those are milestones worth pausing for on a personal project, especially when I look back through its history.

The beginning was much smaller: load a folder, display its MP3 files, and start playback.

Between those two points is a lot of work that never appears in a screenshot. Remembering a position within a chapter. Sorting files correctly. Recovering an interrupted import. Keeping a library intact through an update. Occasionally deciding that some finished code should be removed.

The first milestone was much smaller

The first commits in the repository date back to February 2026. One of them has a straightforward message in Slovak: loading an audiobook works, along with its MP3 list.

The next commits add navigation, fix a duplicate player, mark the chapter being played, and retain a book after the app closes. They show a product being assembled through small, concrete problems.

AudioShelf is a player for a personal audiobook library. Users bring their own files, and the app handles loading them, organizing chapters, playback, and listening progress. Statistics, metadata editing, a sleep timer, and Android Auto controls followed over time.

Some of those are useful additions. Saved progress is fundamental. When someone returns to a long audiobook, they need to continue where they left off.

Organizing the library without sorting every book by hand

A larger library needs more than a folder list. AudioShelf reads available author, genre, and series metadata and creates automatic categories from it. I can browse books by author or genre without assigning each one manually after import.

Alongside that, I can create my own categories — called tags in the app — and assign them to books using my own system. Labels such as “For the commute” or “Want to listen” do not have to exist in the file metadata. Creating custom tags is a Premium feature.

Keeping those two layers separate mattered during development. Automatic categories can change when metadata is refreshed, while custom tags should remain the user's choice. When an author or genre is missing from the files, automatic grouping can only use the information that is actually available.

AudioShelf during development: an audiobook library grouped by genre, with covers and listening progress.
A development screenshot: available metadata automatically groups books by genre. Custom categories live in the Tags tab.

Most of the work surrounds the Play button

AudioShelf is a native Android app. Its interface uses Kotlin and Jetpack Compose, playback runs on Media3, and local data is stored with Room.

Starting audio is one part of the job. Playback needs to work with the lock screen, media notifications, headphones, Bluetooth, and the application's lifecycle. Meanwhile, the user can switch chapters, disconnect headphones, or close the app.

For an audiobook, saving a chapter number is not enough. I also need the position within that chapter and a distinction between finishing it, skipping it manually, and playback stopping because of an error.

Progress persistence therefore responds to several events. During active playback, position is saved periodically. Separate checkpoints handle pausing, a manual chapter change, playback completion, and errors.

One particularly small fix captures the problem well: zero is a valid position. When a user returns to the beginning of a chapter, saving 0 ms needs to replace the old resume position. Otherwise, reopening the book can send them back to the middle of the chapter.

Event ordering is another subtle part of a manual chapter change. The player can already point at the new chapter while the previous chapter still needs its position saved. I therefore take the old chapter identifier and its position from the snapshot of the same event. Automatic completion follows a different path from manually skipping a chapter, so its completed state survives.

01 / Position during a chapter changeThe player is on B. A still needs saving.
save A firstoldPosition0 ms is valid
01Media3 eventA 12:43 → B 00:00
02Previous chapter snapshotmediaId A · oldPosition
03Save to the libraryA → 12:43

0 msis a valid position. Returning to the start must replace the old value.

A simplified manual chapter transition; times are illustrative. Automatic completion follows a separate path to preserve the completed chapter state.

Details like this rarely add a new item to a feature list. They do affect whether the player feels dependable.

AudioShelf in the Android Auto Desktop Head Unit emulator, showing a chapter list.
Android Auto during development in the Desktop Head Unit emulator. The same library through another set of controls.

A library is not always a neatly prepared folder

During development, it is easy to work with a small library and correctly named files. Import also needs to handle nested folders, missing covers, incomplete metadata, and files exposed through an Android storage provider.

Chapter ordering fixes, playlist handling, and more resilient partial imports followed. If copying is interrupted, retrying should fill in the missing files. Successfully processed chapters should survive a failure to read an auxiliary file.

When retrying an import, a complete file is different from a file that merely exists. If the source provides a size and the local copy has a different byte count, the app copies it again. Completed files are kept. Recovery works at file level; an incomplete file is downloaded again from the beginning.

02 / Retrying an importContinue importing while keeping completed chapters.
keep finished filescheck the sizecopy missing files
01System folder pickerFiles and nested folders
02Check the local copyDoes it exist? Is it complete?
03Offline libraryAudio and metadata added
  • 01.mp3Complete fileSkip
  • 02.mp3Size mismatchCopy again
  • 03.mp3Missing fileCopy
An example of retrying an import. If the source provides a size, the local copy is checked against it. Incomplete files are copied again from the beginning, rather than resuming from the last downloaded byte.

Repeatedly loading the same library became another area to improve. Opening audio files and reading their metadata at every startup repeats work when nothing has changed.

I added metadata caching and a local catalog of books and chapters. When the library can be verified against its saved fingerprint, the app uses the catalog. A change, or an inability to verify the fingerprint, triggers a fresh scan.

The goal is straightforward: get to the book without repeating work the app has already done.

Preparing 1.3.0 also meant removing things

AudioShelf's history includes experiments with advertising and a dedicated Google Drive integration. While preparing version 1.3.0, I decided to simplify that scope.

I removed the advertising SDK and temporary feature access earned by watching an ad. That version's monetization uses a one-time Premium purchase without a subscription.

The app's own Google Drive sign-in and API layer were also removed. Android's system folder picker can still expose files through a storage provider. When a source requires downloading, import prepares a local copy for the offline library.

That change needed to preserve books already downloaded by earlier versions. Existing local data and upgrade behavior were part of the work.

Removing a feature involves more than deleting its screen. It leaves files, saved settings, older installations, and user expectations behind.

An update needs to respect the previous version

While testing my own app, I can uninstall it and start again. Releasing an update also means considering what someone has already saved in it.

For AudioShelf, that includes listening progress, sessions used by statistics, edited titles, metadata, and categories. While preparing 1.3.0, I checked migrations from older database schemas to the current one.

Tests create databases with older schemas, insert representative records, and verify them after opening the database with the new version. Playback rules, imports, and Premium access also have focused tests.

These checks do not cover every device or every library. They help keep specific fixes working as the application changes.

What 10,000 downloads means to me

I see 10,000 downloads as a milestone in the reach of my own product. Alongside that, there have been Premium purchases: someone decided to pay for the app.

Having purchases brings another responsibility to each release: restoring purchases, preserving access, and explaining free and paid features clearly.

What interests me is how development connects with the whole life of an application. Code, device behavior, store descriptions, distribution requirements, testing, and purchases all meet in one project.

What I take from it

Looking through AudioShelf's history, much of the progress comes from small fixes. A pause saved correctly. Less repeated scanning. Recovery after a partial import. An update that preserves existing data.

Those are the things I want to keep in focus. New features make sense when the original purpose remains reliable: finding a book and continuing to listen.

AudioShelf is a personal product that keeps teaching me after its first release. Reaching 10,000 downloads is a good reason to keep going.

You can find more about the app at audioshelf.app.

This article is based on AudioShelf's development history and source code. AI helped prepare and translate the text.