[Bug]: #1182

Open
opened 2026-04-24 23:52:20 +02:00 by adam · 1 comment
Owner

Originally created by @Shades228 on GitHub (Apr 2, 2025).

I have verified that the bug is not already awaiting release

Yes

What was the Problem?

iOS app reverts to last timestamp on phone and ignores any time update from the server

Steps to Reproduce the Issue

  1. Play file in app
  2. Resume playback on server
  3. Attempt to resume playback on app

What was Expected?

The app gets the time sync from the server and then reverts it to the last local time instead.

2025-04-01 00:30:00.208

DEBUG

[CronManager] Open session cleanup cron executing

2025-04-01 01:30:00.783

INFO

[BackupManager] Running Backup

2025-04-01 01:30:06.552

DEBUG

Write Stream Finished

2025-04-01 01:30:06.552

INFO

[BackupManager] 63047329 total bytes

2025-04-01 01:30:06.553

INFO

[BackupManager] Backup successful 2025-04-01T0130

2025-04-01 01:30:06.560

DEBUG

[BackupManager] Removing old backup 2025-03-30T0130

2025-04-01 01:30:06.560

DEBUG

[BackupManager] Removing Backup "/metadata/backups/2025-03-30T0130.audiobookshelf"

2025-04-01 01:30:06.561

INFO

[BackupManager] Backup "2025-03-30T0130" Removed

2025-04-01 03:27:48.033

DEBUG

[SocketAuthority] User Offline Shades

2025-04-01 03:27:48.033

INFO

[SocketAuthority] Socket iOUxgPLiuDvZorF1AAAp disconnected from client "Shades" after 66543205ms (Reason: transport close)

2025-04-01 03:27:50.013

INFO

[SocketAuthority] Socket Connected to /audiobookshelf/socket.io hTXP1Ouju4Ezac_mAAA1

2025-04-01 03:27:50.075

DEBUG

[SocketAuthority] User Online Shades

2025-04-01 04:58:18.609

DEBUG

[SocketAuthority] User Offline Shades

2025-04-01 04:58:18.609

INFO

[SocketAuthority] Socket hTXP1Ouju4Ezac_mAAA1 disconnected from client "Shades" after 5428596ms (Reason: transport close)

2025-04-01 04:58:20.189

INFO

[SocketAuthority] Socket Connected to /audiobookshelf/socket.io dNEJgajWNq3Od-83AAA3

2025-04-01 04:58:20.244

DEBUG

[SocketAuthority] User Online Shades

2025-04-01 07:59:16.212

DEBUG

[SocketAuthority] User Offline Shades

2025-04-01 07:59:16.212

INFO

[SocketAuthority] Socket dNEJgajWNq3Od-83AAA3 disconnected from client "Shades" after 10856023ms (Reason: transport close)

2025-04-01 07:59:17.255

INFO

[SocketAuthority] Socket Connected to /audiobookshelf/socket.io C4U7ZKZOau-sfrUgAAA5

2025-04-01 07:59:17.307

DEBUG

[SocketAuthority] User Online Shades

2025-04-01 08:05:52.381

DEBUG

[ApiCacheManager] Object.afterBulkUpdate: Clearing cache

2025-04-01 08:05:52.390

DEBUG

[PlaybackSessionManager] Updated session for "The Eye of the World" (35DC9276-201F-414D-B38B-D2E80297933E)

2025-04-01 08:05:52.393

DEBUG

[ApiCacheManager] Object.afterBulkUpdate: Clearing cache

2025-04-01 08:05:52.393

DEBUG

[PlaybackSessionManager] Updating progress for "The Eye of the World" with current time 30252.218337359 (previously 42335.859938)

Phone Model

iPhone 16 Pro

Phone OS

iOS 18.X

Audiobookshelf App Version

iOS App - 0.9.79

Installation Source

Testflight

Additional Notes

No response

Originally created by @Shades228 on GitHub (Apr 2, 2025). ### I have verified that the [bug is not already awaiting release](https://github.com/advplyr/audiobookshelf-app/issues?q=is%3Aissue%20label%3A%22awaiting%20release%22) Yes ### What was the Problem? iOS app reverts to last timestamp on phone and ignores any time update from the server ### Steps to Reproduce the Issue 1. Play file in app 2. Resume playback on server 3. Attempt to resume playback on app ### What was Expected? The app gets the time sync from the server and then reverts it to the last local time instead. 2025-04-01 00:30:00.208 DEBUG [CronManager] Open session cleanup cron executing 2025-04-01 01:30:00.783 INFO [BackupManager] Running Backup 2025-04-01 01:30:06.552 DEBUG Write Stream Finished 2025-04-01 01:30:06.552 INFO [BackupManager] 63047329 total bytes 2025-04-01 01:30:06.553 INFO [BackupManager] Backup successful 2025-04-01T0130 2025-04-01 01:30:06.560 DEBUG [BackupManager] Removing old backup 2025-03-30T0130 2025-04-01 01:30:06.560 DEBUG [BackupManager] Removing Backup "/metadata/backups/2025-03-30T0130.audiobookshelf" 2025-04-01 01:30:06.561 INFO [BackupManager] Backup "2025-03-30T0130" Removed 2025-04-01 03:27:48.033 DEBUG [SocketAuthority] User Offline Shades 2025-04-01 03:27:48.033 INFO [SocketAuthority] Socket iOUxgPLiuDvZorF1AAAp disconnected from client "Shades" after 66543205ms (Reason: transport close) 2025-04-01 03:27:50.013 INFO [SocketAuthority] Socket Connected to /audiobookshelf/socket.io hTXP1Ouju4Ezac_mAAA1 2025-04-01 03:27:50.075 DEBUG [SocketAuthority] User Online Shades 2025-04-01 04:58:18.609 DEBUG [SocketAuthority] User Offline Shades 2025-04-01 04:58:18.609 INFO [SocketAuthority] Socket hTXP1Ouju4Ezac_mAAA1 disconnected from client "Shades" after 5428596ms (Reason: transport close) 2025-04-01 04:58:20.189 INFO [SocketAuthority] Socket Connected to /audiobookshelf/socket.io dNEJgajWNq3Od-83AAA3 2025-04-01 04:58:20.244 DEBUG [SocketAuthority] User Online Shades 2025-04-01 07:59:16.212 DEBUG [SocketAuthority] User Offline Shades 2025-04-01 07:59:16.212 INFO [SocketAuthority] Socket dNEJgajWNq3Od-83AAA3 disconnected from client "Shades" after 10856023ms (Reason: transport close) 2025-04-01 07:59:17.255 INFO [SocketAuthority] Socket Connected to /audiobookshelf/socket.io C4U7ZKZOau-sfrUgAAA5 2025-04-01 07:59:17.307 DEBUG [SocketAuthority] User Online Shades 2025-04-01 08:05:52.381 DEBUG [ApiCacheManager] Object.afterBulkUpdate: Clearing cache 2025-04-01 08:05:52.390 DEBUG [PlaybackSessionManager] Updated session for "The Eye of the World" (35DC9276-201F-414D-B38B-D2E80297933E) 2025-04-01 08:05:52.393 DEBUG [ApiCacheManager] Object.afterBulkUpdate: Clearing cache 2025-04-01 08:05:52.393 DEBUG [PlaybackSessionManager] Updating progress for "The Eye of the World" with current time 30252.218337359 (previously 42335.859938) ### Phone Model iPhone 16 Pro ### Phone OS iOS 18.X ### Audiobookshelf App Version iOS App - 0.9.79 ### Installation Source Testflight ### Additional Notes _No response_
adam added the bugiOSprogress sync labels 2026-04-24 23:52:20 +02:00
Author
Owner

@Shades228 commented on GitHub (Apr 5, 2025):

Again
2025-04-04 08:12:38.951

DEBUG

[PlaybackSessionManager] Updated session for "The Eye of the World" (E64F2C76-8CCE-4FE9-A414-7299DBC96E31)

2025-04-04 08:12:38.955

DEBUG

[ApiCacheManager] Object.afterBulkUpdate: Clearing cache

2025-04-04 08:12:38.955

DEBUG

[PlaybackSessionManager] Updating progress for "The Eye of the World" with current time 58302.072884955 (previously 68610.232122)

2025-04-04 08:12:38.961

DEBUG

[ApiCacheManager] mediaProgress.afterUpdate: Clearing cache

2025-04-04 08:21:26.221

INFO

[SocketAuthority] Socket Connected to /socket.io Gefn0TJuNU1aEOQ4AADE

2025-04-04 08:21:26.336

DEBUG

[SocketAuthority] User Online Shades

2025-04-04 08:21:28.406

DEBUG

[ApiCacheManager] Object.afterBulkUpdate: Clearing cache

2025-04-04 08:21:28.415

DEBUG

[PlaybackSessionManager] Updated session for "The Eye of the World" (E64F2C76-8CCE-4FE9-A414-7299DBC96E31)

@Shades228 commented on GitHub (Apr 5, 2025): Again 2025-04-04 08:12:38.951 DEBUG [PlaybackSessionManager] Updated session for "The Eye of the World" (E64F2C76-8CCE-4FE9-A414-7299DBC96E31) 2025-04-04 08:12:38.955 DEBUG [ApiCacheManager] Object.afterBulkUpdate: Clearing cache 2025-04-04 08:12:38.955 DEBUG [PlaybackSessionManager] Updating progress for "The Eye of the World" with current time 58302.072884955 (previously 68610.232122) 2025-04-04 08:12:38.961 DEBUG [ApiCacheManager] mediaProgress.afterUpdate: Clearing cache 2025-04-04 08:21:26.221 INFO [SocketAuthority] Socket Connected to /socket.io Gefn0TJuNU1aEOQ4AADE 2025-04-04 08:21:26.336 DEBUG [SocketAuthority] User Online Shades 2025-04-04 08:21:28.406 DEBUG [ApiCacheManager] Object.afterBulkUpdate: Clearing cache 2025-04-04 08:21:28.415 DEBUG [PlaybackSessionManager] Updated session for "The Eye of the World" (E64F2C76-8CCE-4FE9-A414-7299DBC96E31)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#1182