[PR #1322] [MERGED] Added better library browsing for Android Auto #1558

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

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1322
Author: @ISO-B
Created: 9/13/2024
Status: Merged
Merged: 1/11/2025
Merged by: @advplyr

Base: masterHead: feat_android_auto_browse


📝 Commits (10+)

  • a3a58a2 Added better library browsing for Android Auto
  • e4a3cc5 Added Android Auto browsing settings
  • 8134ec8 Enchancements for Android Auto library
  • eedcd18 Android Auto: Fixed and improved search
  • b335fd3 Android Auto improvements
  • 802c16c Android Auto improvements. Icons, Start up
  • b7c8e72 Android Auto: Podcast episodes show publish date
  • f68f31c Android Auto: Streamlined browsing settings to single option
  • a08ae6f Android Auto: Ensure that podcast are listed from newest to oldest
  • 8caa088 Android Auto: Prevent crashing loop in case that app restarts while browsing content

📊 Changes

49 files changed (+1981 additions, -123 deletions)

View changed files

android/app/src/main/java/com/audiobookshelf/app/data/CollapsedSeries.kt (+36 -0)
📝 android/app/src/main/java/com/audiobookshelf/app/data/DataClasses.kt (+131 -6)
📝 android/app/src/main/java/com/audiobookshelf/app/data/DeviceClasses.kt (+10 -2)
android/app/src/main/java/com/audiobookshelf/app/data/LibraryAuthorItem.kt (+63 -0)
android/app/src/main/java/com/audiobookshelf/app/data/LibraryCollection.kt (+40 -0)
📝 android/app/src/main/java/com/audiobookshelf/app/data/LibraryItem.kt (+102 -35)
android/app/src/main/java/com/audiobookshelf/app/data/LibrarySeriesItem.kt (+60 -0)
📝 android/app/src/main/java/com/audiobookshelf/app/data/LocalMediaItem.kt (+1 -1)
📝 android/app/src/main/java/com/audiobookshelf/app/device/DeviceManager.kt (+6 -0)
📝 android/app/src/main/java/com/audiobookshelf/app/media/MediaManager.kt (+583 -36)
android/app/src/main/java/com/audiobookshelf/app/media/icons.kt (+55 -0)
📝 android/app/src/main/java/com/audiobookshelf/app/player/BrowseTree.kt (+31 -21)
📝 android/app/src/main/java/com/audiobookshelf/app/player/PlayerNotificationService.kt (+510 -20)
📝 android/app/src/main/java/com/audiobookshelf/app/server/ApiHandler.kt (+116 -1)
android/app/src/main/res/drawable-anydpi/md_clock_outline.xml (+1 -0)
android/app/src/main/res/drawable-hdpi/md_account_outline.png (+0 -0)
android/app/src/main/res/drawable-hdpi/md_clock_outline.png (+0 -0)
android/app/src/main/res/drawable-mdpi/md_account_outline.png (+0 -0)
android/app/src/main/res/drawable-mdpi/md_clock_outline.png (+0 -0)
android/app/src/main/res/drawable-xhdpi/md_account_outline.png (+0 -0)

...and 29 more files

📄 Description

This should resolve issue. Fixes #1204

Each library now has three browsing options: Library, Series, Collections. Library browsing tree is following:

  • Library
    • Shows authors, but if there is 1000 or more authors only show first letters until there is under 100 authors.
      • Series and single books for author
        • Author books from selected series
  • Series
    • Show list of series, but if there 1000 or more series only show first letters until there is under 500 series to show.
      • Books in series
  • Collections
    • Show collections
      • Books in collection

Fetched data is cached using variables.


🔄 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/1322 **Author:** [@ISO-B](https://github.com/ISO-B) **Created:** 9/13/2024 **Status:** ✅ Merged **Merged:** 1/11/2025 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `feat_android_auto_browse` --- ### 📝 Commits (10+) - [`a3a58a2`](https://github.com/advplyr/audiobookshelf-app/commit/a3a58a25ef58032a218b65409584c33eec45ad05) Added better library browsing for Android Auto - [`e4a3cc5`](https://github.com/advplyr/audiobookshelf-app/commit/e4a3cc5290c6a13a85d370d166a31db7437be301) Added Android Auto browsing settings - [`8134ec8`](https://github.com/advplyr/audiobookshelf-app/commit/8134ec84c6bcda11fc41100ea74316b001d46e04) Enchancements for Android Auto library - [`eedcd18`](https://github.com/advplyr/audiobookshelf-app/commit/eedcd188c3bff3d9d7fe769bfa407aa929965e52) Android Auto: Fixed and improved search - [`b335fd3`](https://github.com/advplyr/audiobookshelf-app/commit/b335fd30d12854c428bee47f0f424ca1f2747544) Android Auto improvements - [`802c16c`](https://github.com/advplyr/audiobookshelf-app/commit/802c16c0dfb474624333bf117d1e1ab456f7b601) Android Auto improvements. Icons, Start up - [`b7c8e72`](https://github.com/advplyr/audiobookshelf-app/commit/b7c8e72ce2daeb9f13420515cfcdab649e5cb96f) Android Auto: Podcast episodes show publish date - [`f68f31c`](https://github.com/advplyr/audiobookshelf-app/commit/f68f31c80fa4a2c69787e0e2c225c1f0b99fbb4e) Android Auto: Streamlined browsing settings to single option - [`a08ae6f`](https://github.com/advplyr/audiobookshelf-app/commit/a08ae6f977759a032e99dc56bfe422250a49f9d8) Android Auto: Ensure that podcast are listed from newest to oldest - [`8caa088`](https://github.com/advplyr/audiobookshelf-app/commit/8caa08843e50c90095a9df599ac6756ce0a4a0ad) Android Auto: Prevent crashing loop in case that app restarts while browsing content ### 📊 Changes **49 files changed** (+1981 additions, -123 deletions) <details> <summary>View changed files</summary> ➕ `android/app/src/main/java/com/audiobookshelf/app/data/CollapsedSeries.kt` (+36 -0) 📝 `android/app/src/main/java/com/audiobookshelf/app/data/DataClasses.kt` (+131 -6) 📝 `android/app/src/main/java/com/audiobookshelf/app/data/DeviceClasses.kt` (+10 -2) ➕ `android/app/src/main/java/com/audiobookshelf/app/data/LibraryAuthorItem.kt` (+63 -0) ➕ `android/app/src/main/java/com/audiobookshelf/app/data/LibraryCollection.kt` (+40 -0) 📝 `android/app/src/main/java/com/audiobookshelf/app/data/LibraryItem.kt` (+102 -35) ➕ `android/app/src/main/java/com/audiobookshelf/app/data/LibrarySeriesItem.kt` (+60 -0) 📝 `android/app/src/main/java/com/audiobookshelf/app/data/LocalMediaItem.kt` (+1 -1) 📝 `android/app/src/main/java/com/audiobookshelf/app/device/DeviceManager.kt` (+6 -0) 📝 `android/app/src/main/java/com/audiobookshelf/app/media/MediaManager.kt` (+583 -36) ➕ `android/app/src/main/java/com/audiobookshelf/app/media/icons.kt` (+55 -0) 📝 `android/app/src/main/java/com/audiobookshelf/app/player/BrowseTree.kt` (+31 -21) 📝 `android/app/src/main/java/com/audiobookshelf/app/player/PlayerNotificationService.kt` (+510 -20) 📝 `android/app/src/main/java/com/audiobookshelf/app/server/ApiHandler.kt` (+116 -1) ➕ `android/app/src/main/res/drawable-anydpi/md_clock_outline.xml` (+1 -0) ➕ `android/app/src/main/res/drawable-hdpi/md_account_outline.png` (+0 -0) ➕ `android/app/src/main/res/drawable-hdpi/md_clock_outline.png` (+0 -0) ➕ `android/app/src/main/res/drawable-mdpi/md_account_outline.png` (+0 -0) ➕ `android/app/src/main/res/drawable-mdpi/md_clock_outline.png` (+0 -0) ➕ `android/app/src/main/res/drawable-xhdpi/md_account_outline.png` (+0 -0) _...and 29 more files_ </details> ### 📄 Description This should resolve issue. Fixes #1204 Each library now has three browsing options: Library, Series, Collections. Library browsing tree is following: - Library - Shows authors, but if there is 1000 or more authors only show first letters until there is under 100 authors. - Series and single books for author - Author books from selected series - Series - Show list of series, but if there 1000 or more series only show first letters until there is under 500 series to show. - Books in series - Collections - Show collections - Books in collection Fetched data is cached using variables. --- <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:17 +02:00
adam closed this issue 2026-04-24 23:59:17 +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#1558