Audiobook: a native client for Audible on Sailfish OS

I am publishing here the first public version of Audiobook, a native application for listening to your Audible audiobooks on Sailfish OS. While OpenRepos is closed, this forum seems the right place to share it and to collect your feedback.

Like many of you, I own a large Audible library. Until now, the only way to listen to it on a Jolla phone was the Android app through AppSupport, or the website. Neither feels at home on Sailfish OS. The real need was not a wrapper around a web page, but an app that behaves like any other Sailfish app: native pages, pulley menus, cover actions, and a player that remembers where you stopped.

Audiobook signs in to your Amazon or Audible account inside the app. The phone is registered as a listening device, exactly as the official app does, and your password is only typed on Amazon’s own page. Your library then appears with its covers, the books already on the phone first, or sorted by author if you prefer. A search field covers titles, authors and series.

Books are downloaded in the background. The player is attached to the library page, as in the native apps: swipe left to reach it. It offers chapters, skip back and forward, speed from 0.8× to 2×, and a sleep timer that can also stop at the end of the chapter. The cover, the lock screen and headset buttons all control playback.

The point I care about most is synchronisation. Your listening position is sent to Audible on pause, every minute and when you close the app. When you open a book that you have listened to on another device, Audiobook offers to jump to the more recent position. In other words, you can switch between your Jolla and your other devices without losing your place.

Audiobook also works in the car through Sailplay, the CarPlay project by 0312birdzhang. The app declares the Sailplay SDK, so it appears among the car applications and can be started from the car screen. The Browse button of the Music card lists the books on your phone and starts the one you choose. The progress bar on the car screen follows the current chapter. Without Sailplay, none of this is needed, and the app works as usual.

The app runs inside the Sailjail sandbox, with the Internet, Audio, Music and WebView permissions only. All the Python modules it needs are bundled, so installation takes one command, with no pip and no extra step. The interface is available in ten languages: English, French, German, Spanish, Italian, Dutch, Swedish, Finnish, Polish and Russian.

Installation. Download the RPM from the releases page, then run:

devel-su pkcon install-local harbour-audiobook-0.9.1-1.aarch64.rpm

It requires a 64-bit device (aarch64) running Sailfish OS 5.

Source code. The project is free software under the AGPL-3.0 licence: github.com/solboki/harbour-audiobook. It relies on the excellent audible Python library by mkb79, and on snowcrypt for decryption. I designed it and developed it with the assistance of Claude, by Anthropic.

A word of caution. This is an unofficial app, not affiliated with Audible or Amazon. It only gives access to books bought on your own account.

I would be glad to hear your feedback, whether about bugs, missing features or behaviour on other devices than mine. I would also welcome native speakers who could review the translations other than English and French: they live in a single file, tools/catalog.py, one line per text.

Thank you in advance for your tests.

5 Likes