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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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:
master← Head:fix_seekback_with_no_play📝 Commits (3)
7c87d79add noSyncUpdateTime symbol, don't sync progress to srv before start playingfde6a4erst "no_sync" after STATE_READY55f032dfix 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
durationtogetStreamSyncData()and use it set
this.totalDurationafter restore🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.