[Bug]: Web Player starts playing triggered by the Android app, gets out of sync

Author: LastElfCreated Aug 30, 2025Updated Sep 30, 2026
Labelsbugwaitingunable to reproduce

What happened?

I've had this happen a couple of times now but can't work out the trigger. I was playing a book via Firefox, paused it and left the tab (and player frame) open. Some time later in another room I resumed it on my phone via the app and unknowingly to me, my PC started playing as well. I paused on my phone and could still hear it coming from my PC. This threw the two players out of sync with each other and then the most recent one to be stopped is the one that recorded where I was up to.

What did you expect to happen?

The app to not start my PC playing

Steps to reproduce the issue

Can only reproduce it on accident at the moment. I suspect there's a websocket thing going on with leaving the player frame open, but the fact that it won't sync every play/pause makes it hard to repro. I will note the book is downloaded to my phone, and today when it happened both PC, phone and server were all on the same network. I have been able to have my PC play while I was leaving the house but I can't remember if I was on the edge of my wifi when I hit play that time.

Audiobookshelf version

2.29.0

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

bash
2025-08-30 19:06:57.373

INFO

[SocketAuthority] Socket Connected to /socket.io dSjEIYKpB3VeBOC3AAAD

2025-08-30 19:07:02.356

INFO

[SocketAuthority] Socket dSjEIYKpB3VeBOC3AAAD disconnected from client "LastElf" after 4983ms (Reason: transport close)

2025-08-30 19:07:04.877

INFO

[SocketAuthority] Socket Connected to /socket.io tnnQb4l1EAQOkcghAAAF

2025-08-30 19:07:23.784

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 27848.913 (previously 27833.778869)

2025-08-30 19:07:23.804

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:07:23.249 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:07:38.610

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 27863.923 (previously 27848.913)

2025-08-30 19:07:38.628

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:07:38.249 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:07:53.602

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 27878.92 (previously 27863.923)

2025-08-30 19:07:53.625

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:07:53.249 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:08:08.577

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 27893.913 (previously 27878.92)

2025-08-30 19:08:08.593

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:08:08.249 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:08:23.586

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 27908.922 (previously 27893.913)

2025-08-30 19:08:23.604

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:08:23.250 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:08:38.605

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 27923.927 (previously 27908.922)

2025-08-30 19:08:38.621

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:08:38.252 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:08:53.602

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 27938.918 (previously 27923.927)

2025-08-30 19:08:53.619

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:08:53.253 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:09:08.581

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 27953.918 (previously 27938.918)

2025-08-30 19:09:08.598

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:09:08.252 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:09:23.619

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 27968.922 (previously 27953.918)

2025-08-30 19:09:23.636

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:09:23.253 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:09:38.640

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 27983.921 (previously 27968.922)

2025-08-30 19:09:38.658

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:09:38.253 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:09:53.591

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 27998.923 (previously 27983.921)

2025-08-30 19:09:53.609

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:09:53.253 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:10:08.618

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28013.921 (previously 27998.923)

2025-08-30 19:10:08.636

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:10:08.254 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:10:23.586

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28028.923 (previously 28013.921)

2025-08-30 19:10:23.610

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:10:23.254 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:10:38.631

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28043.919 (previously 28028.923)

2025-08-30 19:10:38.656

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:10:38.255 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:10:53.647

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28058.918 (previously 28043.919)

2025-08-30 19:10:53.665

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:10:53.255 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:11:08.640

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28073.92 (previously 28058.918)

2025-08-30 19:11:08.658

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:11:08.255 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:11:23.584

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28088.922 (previously 28073.92)

2025-08-30 19:11:23.594

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:11:23.256 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:11:38.620

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28103.926 (previously 28088.922)

2025-08-30 19:11:38.639

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:11:38.257 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:11:53.605

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28118.923 (previously 28103.926)

2025-08-30 19:11:53.622

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:11:53.256 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:12:08.612

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28133.923 (previously 28118.923)

2025-08-30 19:12:08.628

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:12:08.258 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:12:23.601

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28148.929 (previously 28133.923)

2025-08-30 19:12:23.615

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:12:23.258 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:12:38.626

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28163.927 (previously 28148.929)

2025-08-30 19:12:38.648

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:12:38.258 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:12:53.612

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28178.926 (previously 28163.927)

2025-08-30 19:12:53.628

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:12:53.258 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:13:08.615

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28193.931 (previously 28178.926)

2025-08-30 19:13:08.631

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:13:08.259 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:13:23.610

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28208.919 (previously 28193.931)

2025-08-30 19:13:23.625

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:13:23.258 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:13:38.614

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28223.925 (previously 28208.919)

2025-08-30 19:13:38.629

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:13:38.260 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:13:53.607

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28238.926 (previously 28223.925)

2025-08-30 19:13:53.622

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:13:53.261 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:14:06.016

INFO

[SocketAuthority] Socket tnnQb4l1EAQOkcghAAAF disconnected from client "LastElf" after 421138ms (Reason: ping timeout)

2025-08-30 19:14:08.631

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28253.926 (previously 28238.926)

2025-08-30 19:14:08.648

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:14:08.260 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:14:08.742

ERROR

[SessionController] Unable to find playback session with id=ba1e25c1-3d05-4936-91b7-2080f4c748e1

2025-08-30 19:14:08.823

INFO

[STREAM] START STREAM - Num Segments: 5511

2025-08-30 19:14:08.837

INFO

[STREAM] Starting Stream at startTime 7:50:23 (User startTime 7:50:53) and Segment #4703

2025-08-30 19:14:09.214

WARN

File path does not exist /metadata/streams/f8d862b2-69cd-4338-9889-d8732c8dcddc/output-4708.ts

2025-08-30 19:14:10.703

WARN

File path does not exist /metadata/streams/f8d862b2-69cd-4338-9889-d8732c8dcddc/output-4708.ts

2025-08-30 19:14:11.323

INFO

[INFO] FFMPEG transcoding started with command: ffmpeg -seek_timestamp 1 -f concat -safe 0 -ss 2525.1s -noaccurate_seek -i /metadata/streams/f8d862b2-69cd-4338-9889-d8732c8dcddc/files.txt -y -loglevel error -map 0:a -c:a copy -f hls -copyts -avoid_negative_ts make_non_negative -max_delay 5000000 -max_muxing_queue_size 2048 -hls_time 6 -hls_segment_type mpegts -start_number 4703 -hls_playlist_type vod -hls_list_size 0 -hls_allow_cache 0 -hls_segment_filename /metadata/streams/f8d862b2-69cd-4338-9889-d8732c8dcddc/output-%d.ts /metadata/streams/f8d862b2-69cd-4338-9889-d8732c8dcddc/final-output.m3u8

2025-08-30 19:14:11.324

INFO

2025-08-30 19:14:13.329

INFO

[STREAM] f8d862b2-69cd-4338-9889-d8732c8dcddc notifying client that stream is ready

2025-08-30 19:14:13.369

INFO

[STREAM-CHECK] Check Files 129 of 5511 2.34% Furthest Segment: 4831

2025-08-30 19:14:15.331

INFO

[STREAM-CHECK] Check Files 271 of 5511 4.92% Furthest Segment: 4973

2025-08-30 19:14:17.332

INFO

[STREAM-CHECK] Check Files 424 of 5511 7.69% Furthest Segment: 5126

2025-08-30 19:14:19.333

INFO

[STREAM-CHECK] Check Files 573 of 5511 10.40% Furthest Segment: 5275

2025-08-30 19:14:21.335

INFO

[STREAM-CHECK] Check Files 718 of 5511 13.03% Furthest Segment: 5420

2025-08-30 19:14:22.505

INFO

[FFMPEG] Transcoding ended

2025-08-30 19:14:23.628

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28268.926 (previously 28259.902326)

2025-08-30 19:14:23.647

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:14:23.262 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:14:38.618

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28283.924 (previously 28270.004344)

2025-08-30 19:14:38.635

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:14:38.261 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:14:53.613

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28298.93 (previously 28290.208244)

2025-08-30 19:14:53.628

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:14:53.261 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:15:08.623

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28313.929 (previously 28300.266907)

2025-08-30 19:15:08.644

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:15:08.262 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:15:23.624

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28328.926 (previously 28320.488176)

2025-08-30 19:15:23.640

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:15:23.261 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:15:38.611

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28343.926 (previously 28330.566498)

2025-08-30 19:15:38.631

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:15:38.262 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:15:53.590

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28358.933 (previously 28350.808857)

2025-08-30 19:15:53.607

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:15:53.263 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:16:08.648

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28373.934 (previously 28360.86736)

2025-08-30 19:16:08.664

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:16:08.263 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:16:23.634

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28388.934 (previously 28381.085365)

2025-08-30 19:16:23.654

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:16:23.262 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:16:38.617

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28403.929 (previously 28391.188358)

2025-08-30 19:16:38.633

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:16:38.263 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:16:53.365

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28418.694 (previously 28411.400081)

2025-08-30 19:16:53.383

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:16:53.037 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:18:55.849

INFO

[SocketAuthority] Socket Connected to /socket.io SA29AL56c6SjtpXGAAAH

2025-08-30 19:19:01.650

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28411.136 (previously 28532.74185)

2025-08-30 19:19:01.667

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:19:01.261 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:20:26.411

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28484.07 (previously 28623.711056)

2025-08-30 19:20:26.424

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:20:26.103 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:20:41.441

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28499.065 (previously 28633.770399)

2025-08-30 19:20:41.457

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:20:41.103 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:20:56.456

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28514.065 (previously 28653.966249)

2025-08-30 19:20:56.473

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:20:56.105 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:21:11.433

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28529.063 (previously 28664.115138)

2025-08-30 19:21:11.449

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:21:11.104 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:21:26.457

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28544.064 (previously 28684.295319)

2025-08-30 19:21:26.470

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:21:26.106 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:21:41.435

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28559.062 (previously 28694.400467)

2025-08-30 19:21:41.451

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:21:41.106 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:21:56.454

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28574.064 (previously 28714.656204)

2025-08-30 19:21:56.469

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:21:56.105 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:22:11.502

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28589.068 (previously 28724.700285)

2025-08-30 19:22:11.528

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:22:11.107 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:22:26.515

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28604.07 (previously 28744.913142)

2025-08-30 19:22:26.532

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:22:26.106 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:22:41.544

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28619.068 (previously 28755.062757)

2025-08-30 19:22:41.561

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:22:41.107 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:22:56.547

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28634.07 (previously 28775.166793)

2025-08-30 19:22:56.564

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:22:56.108 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:23:11.535

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28649.07 (previously 28785.276294)

2025-08-30 19:23:11.549

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:23:11.109 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:23:26.538

INFO

[PlaybackSessionManager] Updating progress for "Pyramids" with current time 28664.073 (previously 28805.495591)

2025-08-30 19:23:26.556

INFO

[MediaProgress] Manually setting updatedAt to '2025-08-30 09:23:26.109 +00:00' (media item 01d36c14-e384-4d17-bf53-54564a2eb837)

2025-08-30 19:23:41.549

INFO

[Play