[PR #1777] Fix issue: 1161 ([Bug]: Mobile app ignores external progress when playing on web) #1694

Open
opened 2026-04-25 00:00:40 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1777
Author: @giejay
Created: 1/10/2026
Status: 🔄 Open

Base: masterHead: master


📝 Commits (3)

  • bcf19ae Fix issue: 1161 ([Bug]: Mobile app ignores external progress when playing) by syncing progress with the server on websocket disconnect or screen timeout
  • 4f5c2d9 Fix issue: 1161 ([Bug]: Mobile app ignores external progress when playing) by syncing progress with the server on websocket disconnect or screen timeout
  • 45b52d6 Collapse the 2 if statements into 1 for checking whether the socket has been disconnected + out of focus for 30 sec

📊 Changes

1 file changed (+34 additions, -6 deletions)

View changed files

📝 layouts/default.vue (+34 -6)

📄 Description

Brief summary

This PR tries to fix the issue which users were seeing when playing an audiobook on the web and continuing on the app. The server progress would not be visible in the app and it would use the local progress, overwriting any server progress.

Which issue is fixed?

https://github.com/advplyr/audiobookshelf-app/issues/1161

Pull Request Type

Android + iOS, the backend

In-depth Description

Whenever the websocket is disconnected, or the app has not been visible for 30 seconds, it syncs the local progress to the server and vice versa.

How have you tested this?

Played an audiobook on the server/web with app opened on my Android Phone
Scrolled through the audiobook in web, app progress was synced
Closed app for > 30 seconds
Saw a websocket disconnect in the logs
Opened app again, progress was synced -> This is not the case without this PR.


🔄 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/1777 **Author:** [@giejay](https://github.com/giejay) **Created:** 1/10/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`bcf19ae`](https://github.com/advplyr/audiobookshelf-app/commit/bcf19ae3cd39cc804da7ad1eba6286c8e13508b4) Fix issue: 1161 ([Bug]: Mobile app ignores external progress when playing) by syncing progress with the server on websocket disconnect or screen timeout - [`4f5c2d9`](https://github.com/advplyr/audiobookshelf-app/commit/4f5c2d96108672e25bfc49cf5c35ad9cac412c76) Fix issue: 1161 ([Bug]: Mobile app ignores external progress when playing) by syncing progress with the server on websocket disconnect or screen timeout - [`45b52d6`](https://github.com/advplyr/audiobookshelf-app/commit/45b52d67a9d684b6da661e0d3c2bde56dac825f6) Collapse the 2 if statements into 1 for checking whether the socket has been disconnected + out of focus for 30 sec ### 📊 Changes **1 file changed** (+34 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `layouts/default.vue` (+34 -6) </details> ### 📄 Description ## Brief summary This PR tries to fix the issue which users were seeing when playing an audiobook on the web and continuing on the app. The server progress would not be visible in the app and it would use the local progress, overwriting any server progress. ## Which issue is fixed? https://github.com/advplyr/audiobookshelf-app/issues/1161 ## Pull Request Type Android + iOS, the backend ## In-depth Description Whenever the websocket is disconnected, or the app has not been visible for 30 seconds, it syncs the local progress to the server and vice versa. ## How have you tested this? Played an audiobook on the server/web with app opened on my Android Phone Scrolled through the audiobook in web, app progress was synced Closed app for > 30 seconds Saw a websocket disconnect in the logs Opened app again, progress was synced -> This is not the case without this PR. --- <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-25 00:00:40 +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#1694