r/audiobookshelf • u/xFrieDSpuDx • 6h ago
I built Chapter Player and added offline listening and Bluetooth speaker mode
I built a Chapter Player for Audiobookshelf using the original 3D-printed case, the little OLED and the two knobs. I liked the idea of a player children could use on their own. Once I had it working, I started changing the things that would make it easier for us to use every day.
A big thank you to u/freshbagelsIT for the case design, the wiring, the original software and the installer. Without their work I wouldn’t have built one. The Reddit post that got me started · Original GitHub repo
The build
Most of the heat-set inserts were straightforward. The four for the Select and Volume dials were fiddly because there’s so little space to get the iron in at the right angle. I fitted the USB-C power board first and used separate WAGO joins for 5 V and ground. Sharing power and ground for the dials kept the wiring neater and meant fewer leads going back to the Pi.
I soldered the speaker cable to the terminals. It was too thick for the routing hole, so I ran it over the speaker chamber wall in the gap behind the front panel. I took photos of the amp’s pin labels and one wired dial before fitting them, which paid off once everything was in the case. I used plenty of hot glue to keep the connections and cable runs secure as the player will be moved around a lot. Longer leads for the LED and OLED mean I can lift the front panel away without snagging anything.
I’d bought a 3.3 V LED by accident, so I powered it from the Pi’s 3.3 V supply. It was still far too bright in a dark room. Blu Tack in front of it and around the sides dimmed it and cut down the light spill. After taking the photos I added cotton wool to the speaker chamber. To my ears it sounds a bit fuller and has a little more bass. I also had some crackling while testing, which cleared up when I moved one ground lead to a different GND pin on the Raspberry Pi.
What I changed in the web interface
The original web page already handled setup and gave me basic playback and volume controls. I wanted to find books, get them ready for offline listening and control what was playing from my phone. The two knobs still do the everyday work on the device. The web screenshots use a sample library.
- Overview. I can see the current book and its progress, download activity, Wi-Fi, Audiobookshelf and Bluetooth status, and when Night mode is due to end if it’s scheduled. I can also pause or change the volume from the same page.
- Library. I wanted to find books by their covers. There’s live search, browsing by series, author, collection or playlist, filters for downloads and finished books, and pagination. The info button opens the synopsis. I can start a book on Chapter or queue its download from the cover.
- Downloads. I can queue several books and see what’s ready, what’s waiting, how far a transfer has got and how much space is left. The page updates while it’s open, which makes it easier to get books ready for a trip.
- Player. From my phone I can control the book that’s playing on Chapter. I can play or pause, seek, skip back or forward, choose a chapter, change speed or set a sleep timer. The tabs below hold bookmarks, the listening queue and controls to stop or mark the book finished. The volume slider stays visible and in the same place when I mute. The page also shows whether Chapter is using a downloaded copy and whether the position has synced.
- Settings. I split the long settings page into smaller sections, so it’s easier to find things like screen brightness and quiet hours. There are light and dark modes and a choice of palettes. An optional owner login lets me choose whether visitors can see Overview or browse the Library.
- Bluetooth. I can find, pair and reconnect headphones or a speaker through Connections. Phone audio also lets me use Chapter itself as a Bluetooth speaker, even when it’s idle. It remembers the mode through a reboot, keeps the Night mode volume cap and shows the track and artist when the phone shares them.
- System. I can check the version, export diagnostics, back up settings and preview a restore. With a compatible packaged install and a release source configured, the owner can update from here. Chapter checks the package and can roll back if activation fails, keeping settings, downloads and progress.
What else changed and why
- Listening offline and picking up where I left off. Chapter prefers the downloaded copy when I open a book from the normal library. Covers and synopses can be saved alongside the audio. Interrupted downloads can resume after Wi-Fi returns or the Pi reboots if the source file is unchanged. Listening progress saves locally and syncs when the server comes back. If I’ve listened in the Audiobookshelf browser, Continue on Chapter picks up the newer saved position, including a deliberate rewind. One failed sync can retry without holding up the others.
- Less turning the dial. I added sorting by author first or last name, series order and a Continue series option. There’s a jump-to-letter picker and a way to pin a collection or playlist. The listening queue can optionally move on to the next book in the queue or series.
- Quicker responses. Chapter prepares GStreamer in the background and skips an unnecessary seek when starting at 1×. I added timings to see what was slowing things down. Downloaded books open quicker on my Pi. I moved library refreshes away from the dial loop, and Overview loads while Wi-Fi status updates in the background. One playback worker keeps a slow request from overriding my next selection, and I can cancel an opening book from the web or device. Volume and mute also keep up with quick turns of the knob now.
- Quieter at bedtime. The dial moves in one-point steps below 10%. The built-in speaker and Bluetooth remember their own volume across reboots, and knob clicks and spoken menus have separate levels. Night mode can cap the volume and dim the display. I added 5% screensaver brightness, a 12- or 24-hour clock, and the option to turn off the OLED after inactivity or on a schedule. The first dial gesture wakes it without changing anything. There are also 1.25× and 1.75× speeds and an end-of-chapter sleep timer.
- Easier to build and maintain. I added an illustrated assembly guide, a full wiring diagram, an interactive guide that lets you trace a wire at a time, and a printable first-boot guide. I split up the OLED loop and web code so the pieces are easier to follow, added tests for playback, browser controls, accessibility, install and rollback, and tested the changes on my Pi as I went.
All the changes are in my fork. My GitHub repo · Changelog · Visual build and wiring guide
If the original maintainer would like any of these changes in Chapter, I’d be happy to split the work into smaller pull requests and work through what fits. I’d also like to hear how other people are using theirs and which bits of the build they found tricky.


