[PR #1358] [MERGED] Ensure that there is files available before playing local content #1561

Closed
opened 2026-04-24 23:59:18 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1358
Author: @ISO-B
Created: 10/29/2024
Status: Merged
Merged: 11/4/2024
Merged by: @advplyr

Base: masterHead: fix_check_files_before_playing


📝 Commits (2)

  • 8f181c7 Ensure that there is files available before playing local content
  • 11804d1 Enhanced check for local audio tracks

📊 Changes

2 files changed (+25 additions, -0 deletions)

View changed files

📝 android/app/src/main/java/com/audiobookshelf/app/data/LocalLibraryItem.kt (+22 -0)
📝 android/app/src/main/java/com/audiobookshelf/app/plugins/AbsAudioPlayer.kt (+3 -0)

📄 Description

This should fix #105 . This wont work 100% with books that have multiple books.

If there is way to know how many files there should be then this can easily be extended for multi file books.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/1358 **Author:** [@ISO-B](https://github.com/ISO-B) **Created:** 10/29/2024 **Status:** ✅ Merged **Merged:** 11/4/2024 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `fix_check_files_before_playing` --- ### 📝 Commits (2) - [`8f181c7`](https://github.com/advplyr/audiobookshelf-app/commit/8f181c74d4a3ad2ff7bf3e772f6e094cf733e17e) Ensure that there is files available before playing local content - [`11804d1`](https://github.com/advplyr/audiobookshelf-app/commit/11804d1cb83f802119e6d7ac2fb933ddf719ab79) Enhanced check for local audio tracks ### 📊 Changes **2 files changed** (+25 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `android/app/src/main/java/com/audiobookshelf/app/data/LocalLibraryItem.kt` (+22 -0) 📝 `android/app/src/main/java/com/audiobookshelf/app/plugins/AbsAudioPlayer.kt` (+3 -0) </details> ### 📄 Description This should fix #105 . This wont work 100% with books that have multiple books. If there is way to know how many files there should be then this can easily be extended for multi file books. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-24 23:59:18 +02:00
adam closed this issue 2026-04-24 23:59:18 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#1561