[PR #19] [CLOSED] fix seek back with no play #1373

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/19
Author: @svdztn
Created: 10/27/2021
Status: Closed

Base: masterHead: fix_seekback_with_no_play


📝 Commits (2)

  • 7c87d79 add noSyncUpdateTime symbol, don't sync progress to srv before start playing
  • fde6a4e rst "no_sync" after STATE_READY

📊 Changes

2 files changed (+15 additions, -6 deletions)

View changed files

📝 android/app/src/main/java/com/audiobookshelf/app/PlayerNotificationService.kt (+7 -2)
📝 components/AudioPlayerMini.vue (+8 -4)

📄 Description

Fixed and tested.

There is another way, that is setting the lastPauseTime to stream.lastUpdate while player init. And let the player to do the seekback.
But the playWhenReady is not easy to handle and it always leads to rebuffering, so I didn't use this.


🔄 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/19 **Author:** [@svdztn](https://github.com/svdztn) **Created:** 10/27/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix_seekback_with_no_play` --- ### 📝 Commits (2) - [`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 ### 📊 Changes **2 files changed** (+15 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `android/app/src/main/java/com/audiobookshelf/app/PlayerNotificationService.kt` (+7 -2) 📝 `components/AudioPlayerMini.vue` (+8 -4) </details> ### 📄 Description Fixed and tested. There is another way, that is setting the `lastPauseTime` to `stream.lastUpdate` while player init. And let the player to do the seekback. But the `playWhenReady` is not easy to handle and it always leads to rebuffering, so I didn't use this. --- <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#1373