~/t/g/self-hosting $

Audiobookshelf merging books? Give each its own folder

gist Use one folder per book, add author and optional series folders, then scan a small batch and check its metadata and track order.

contents
  1. Step 1: Give each book its own folder
  2. Step 2: Scan the library and check the result
  3. Step 3: Choose which metadata should win
  4. Compare the organization options
  5. Common questions

If Audiobookshelf merges separate books, give each title its own folder and scan a small batch before importing the rest.

I run Audiobookshelf in Docker on my Unraid box. For a new import, an author-and-title layout is a simple starting point. Have access to the library settings and make sure the container can read your audiobook folder. Docker libraries use paths visible inside the container. See the server documentation.

Step 1: Give each book its own folder

Use Author/Book for standalone titles and Author/Series/Book for series. Keep every track for a book together. Use this layout:

Audiobooks/
└── Example Author/
    ├── Standalone Title/
    │   ├── 01.mp3
    │   └── 02.mp3
    └── Example Series/
        ├── 1 - First Title/
        │   └── First Title.m4b
        └── 2 - Second Title/
            └── Second Title.m4b

Keep loose audio files out of author and series folders. Mixing audio at those levels with nested book folders can merge separate titles into one item.

Series numbers can use 1 - Title or 1. Title. Disc subfolders can use names such as Disc 1 and Disc 2. Keep author spelling and spacing consistent. These conventions come from the book library structure documentation.

Set the library folder to the root containing these author folders. Start with two books so the expected item count is easy to check.

The library root contains an author folder, a book folder, and the generated silence.wav audio file
A one-book test library: author folder, book folder, one audio file.

Step 2: Scan the library and check the result

Start a library scan from Audiobookshelf’s library settings. Scanning reads local files and metadata. Online metadata lookup is a separate action through Match or Quick Match. See the scanning FAQ.

Check each imported book:

  • Does each book appear as a separate item?
  • Are the title, author and series correct?
  • Does it contain only its own audio files?
  • Are the tracks in listening order?

Track order uses filenames and embedded track numbers. For multiple discs, disc number comes first. Use Manage Tracks on the book’s details page to review or correct the order. See the track documentation.

If an item is missing, read the server logs before renaming more folders.

Audiobookshelf indexes Made Up Quiet Book from the author and book folders in the library root
After the scan, the title and author come straight from the folder names.

Step 3: Choose which metadata should win

Folder names are one metadata source. Audio tags and local metadata files can also supply book details. Renaming a folder may leave the displayed title unchanged when another source has higher priority.

Review the library’s metadata priorities. Prefer accurate tags when they already describe your books correctly. Prefer folder-derived fields when the folders are accurate and the tags are incomplete.

Audiobookshelf’s local metadata.json should normally stay at the highest local priority so edits made in the app survive later scans. Change that priority deliberately when importing corrections from another source. See the official book metadata documentation.

Scan the small batch again after changing priorities. Check the same fields before adding more books.

Compare the organization options

Approach Best use Tradeoff
Author-and-title folders Files you want to browse outside the app Names need consistent spelling and structure.
Metadata-first organization Books with accurate tags or local metadata files Metadata needs checking; each book still needs a clear folder boundary.
Separate libraries Groups you want to browse and search separately Authors, series, collections and playlists stay within each library.

Separate libraries add boundaries. Moving a book between them does not automatically carry its metadata or listening progress across. Choose those boundaries before importing a large collection. See the library overview.

Common questions

Does every audiobook need its own folder?

Use one folder per book. Single-file books at the library root are supported, but dedicated folders keep the layout consistent. See the supported structures.

Why did Audiobookshelf merge several books?

Check for audio files sitting directly in an author or series folder. Incorrect grouping can persist after moving files. The documented repair is to remove the merged library entry and rescan after fixing the layout. Re-added books lose listening progress. Back up first, and check that the removal action preserves your files. See the grouping FAQ.

Why did renaming a folder not change the title?

A higher-priority metadata source may still supply the title. Review the library’s priorities and rescan the item. See the metadata documentation.

Should I stop automatic scanning while moving books?

Pause the file watcher and scheduled scans during a large reorganization. Finish the moves before scanning manually. Scanning a partly moved layout can cause incorrect grouping. See the server FAQ.

Before reorganizing an existing collection, review Audiobookshelf backup coverage. Related: self-hosting guides.

../self-hosting/ every Self-hosting guide