[PR #20] [MERGED] Fix seekback with no play & progress bar data loss #1372

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

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/20
Author: @svdztn
Created: 10/27/2021
Status: Merged
Merged: 10/27/2021
Merged by: @advplyr

Base: masterHead: fix_seekback_with_no_play


📝 Commits (3)

  • 7c87d79 add noSyncUpdateTime symbol, don't sync progress to srv before start playing
  • fde6a4e rst "no_sync" after STATE_READY
  • 55f032d fix progress bar data loss after restore from app destroy when playing is on

📊 Changes

3 files changed (+23 additions, -6 deletions)

View changed files

📝 android/app/src/main/java/com/audiobookshelf/app/MyNativeAudio.kt (+3 -0)
📝 android/app/src/main/java/com/audiobookshelf/app/PlayerNotificationService.kt (+11 -2)
📝 components/AudioPlayerMini.vue (+9 -4)

📄 Description

fix seek back with no play

See #19

progress bar data loss after restore from app destroy when playing is on

There is a long time without metadata while playing.
So add duration to getStreamSyncData()
and use it set this.totalDuration after restore


🔄 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/20 **Author:** [@svdztn](https://github.com/svdztn) **Created:** 10/27/2021 **Status:** ✅ Merged **Merged:** 10/27/2021 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `fix_seekback_with_no_play` --- ### 📝 Commits (3) - [`7c87d79`](https://github.com/advplyr/audiobookshelf-app/commit/7c87d795914d8133951a32378fe380126b2218e0) add noSyncUpdateTime symbol, don't sync progress to srv before start playing - [`fde6a4e`](https://github.com/advplyr/audiobookshelf-app/commit/fde6a4e8ec07302ab103b699f2f4216107dc61cc) rst "no_sync" after STATE_READY - [`55f032d`](https://github.com/advplyr/audiobookshelf-app/commit/55f032d8873b4950019c1b5e1592fdc59a50e3ed) fix progress bar data loss after restore from app destroy when playing is on ### 📊 Changes **3 files changed** (+23 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `android/app/src/main/java/com/audiobookshelf/app/MyNativeAudio.kt` (+3 -0) 📝 `android/app/src/main/java/com/audiobookshelf/app/PlayerNotificationService.kt` (+11 -2) 📝 `components/AudioPlayerMini.vue` (+9 -4) </details> ### 📄 Description ## fix seek back with no play See #19 ## progress bar data loss after restore from app destroy when playing is on There is a long time without metadata while playing. So add `duration` to `getStreamSyncData()` and use it set `this.totalDuration` after restore --- <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:58:01 +02:00
adam closed this issue 2026-04-24 23:58:01 +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#1372