Julien Cornebise 4798644bea Make AudioTrack.mimeType nullable to prevent Android playback stall
The POST /api/items/<id>/play/<episodeId> response inlines every episode
of a podcast with an audioTrack per episode. Server-side, audioTrack.mimeType
is derived from audioFile.mimeType, which is null when the row was created
without a successful audio probe (direct DB inserts, import scripts,
partial probe failures).

The Jackson deserializer hits one null mimeType among the inlined
episodes, throws MissingKotlinParameterException, and the entire
play-session response fails to deserialize. ExoPlayer is never called,
the UI silently stalls.

Make mimeType nullable on the data class to tolerate this. ExoPlayer's
MediaItem.Builder.setMimeType already accepts nullable. Defensively
coerce null to empty string for Cast's MediaInfo.Builder.setContentType,
whose Java signature is non-null.

Fixes #1905
2026-06-23 15:58:18 +01:00
2026-05-10 15:18:30 -05:00
2021-09-01 20:07:11 -05:00
2021-12-04 19:56:29 -06:00
2026-05-13 09:11:27 +03:00
2023-03-10 16:13:04 -06:00
2026-05-10 14:23:17 -05:00
2026-05-04 22:12:49 +00:00
2025-09-07 16:31:59 -05:00
2021-09-02 12:19:26 -05:00
2022-04-11 16:29:19 +02:00
2022-03-20 05:54:56 -05:00
2026-05-10 14:29:52 -05:00
2026-05-10 14:29:52 -05:00
2025-09-07 16:31:59 -05:00

Audiobookshelf Mobile App

Audiobookshelf is a self-hosted audiobook and podcast server.

Android (beta)

Get the Android app on the Google Play Store

iOS (early beta)

Beta is currently full. Apple has a hard limit of 10k beta testers. Updates will be posted in Discord.

Using Test Flight: https://testflight.apple.com/join/wiic7QIW (beta is full)


Go to the main project repo github.com/advplyr/audiobookshelf or the project site audiobookshelf.org

Join us on discord

Requires an Audiobookshelf server to connect with

Screenshot

Contributing

This application is built using NuxtJS and Capacitor in order to run on both iOS and Android on the same code base.

Localization

Thank you to Weblate for hosting our localization infrastructure pro-bono. If you want to see Audiobookshelf in your language, please help us localize. Additional information on helping with the translations here. Translation status

Windows Environment Setup for Android

Required Software:

Install the required software with winget

Note: This requires a PowerShell prompt with winget installed. You should be able to copy and paste the code block to install. If you use an elevated PowerShell prompt, UAC will not pop up during the installs.

winget install -e --id Git.Git; `
winget install -e --id Microsoft.VisualStudioCode; `
winget install -e --id  Google.AndroidStudio; `
winget install -e --id OpenJS.NodeJS --version 20.11.0;


Your Windows environment should now be set up and ready to proceed!

Mac Environment Setup for Android

Required Software:

Install the required software with homebrew

brew install android-studio node cocoapods

Start working on the Android app

Clone or fork the project from terminal or powershell and cd into the project directory.

Install the required node packages:

npm install
Expand for screenshot


Generate static web app:

npm run generate
Expand for screenshot


Copy web app into native android/ios folders:

npx cap sync
Expand for screenshot


Open Android Studio:

npx cap open android
Expand for screenshot


Start coding!

After making changes to the JS layer you need to rebuild the nuxt pages and sync them to the native shells:

npm run sync

Mac Environment Setup for iOS

Required Software:

Start working on the iOS app

Clone or fork the project in the terminal and cd into the project directory.

Install the required node packages:

npm install
Expand for screenshot


Generate static web app:

npm run generate
Expand for screenshot


Copy web app into native android/ios folders:

npx cap sync
Expand for screenshot


Open Xcode:

npx cap open ios
Expand for screenshot


Start coding!

After making changes to the JS layer you need to rebuild the nuxt pages and sync them to the native shells:

npm run sync
S
Description
No description provided
Readme GPL-3.0
111 MiB
Languages
Vue 43.9%
Kotlin 30.5%
Swift 16%
JavaScript 8.1%
CSS 1.1%
Other 0.2%