Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Playback Sessions from App not being Recorded #3760

Open
Abateman121 opened this issue Dec 30, 2024 · 1 comment
Open

[Bug]: Playback Sessions from App not being Recorded #3760

Abateman121 opened this issue Dec 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Abateman121
Copy link

Abateman121 commented Dec 30, 2024

2025-01-02.txt

What happened?

So I have an issue that has occured when using the IOS app through testflight or through sidestore. The issue is I will do a listening session for a book lets say for example it starts at timestamp 1:00:00, I will listen for 30 minutes. Then I will pause/stop playback or change Bluetooth devices (headset to car or vice versa). When I go to resume the playback the app will not respond/crash and then switch to playing Apple Music instead. When I go into the app I see a websocket error and it acts like my most recent playback session did not happen it will start back at the 1:00:00 timestamp and I have to fast-forward back to where I was. I have enabled websocket support through my nginx proxy manager setup. The book can be downloaded or streamed does not seem to make a difference.

What did you expect to happen?

I would expect it to start playback from where I last left off.

Steps to reproduce the issue

  1. Listen to book for awhile on IOS app
  2. Pause playback
  3. Resume playback

Audiobookshelf version

2.17.5

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

I think this is the correct stuff from the logs

2024-12-30 09:46:07.055

DEBUG

[PlaybackSessionManager] startSessionRequest for device iPhone13,2 / v0.9.77

2024-12-30 09:46:07.056

DEBUG

[PlaybackSessionManager] "abateman" starting direct play session for item "bb299510-3e83-4f27-9437-19c917a24ea5" with id 9c0bde32-e499-4450-8ca9-88a979f432f9 (Device: iPhone13,2 / v0.9.77)

2024-12-30 09:46:10.863

DEBUG

[PlaybackSessionManager] syncSession "9c0bde32-e499-4450-8ca9-88a979f432f9" (Device: iPhone13,2 / v0.9.77) | Total Time Listened: 0

2024-12-30 09:46:37.105

DEBUG

[PlaybackSessionManager] syncSession "9c0bde32-e499-4450-8ca9-88a979f432f9" (Device: iPhone13,2 / v0.9.77) | Total Time Listened: 26.23524498939514

2024-12-30 09:47:07.073

DEBUG

[PlaybackSessionManager] syncSession "9c0bde32-e499-4450-8ca9-88a979f432f9" (Device: iPhone13,2 / v0.9.77) | Total Time Listened: 56.21263098716736

2024-12-30 09:47:22.065

DEBUG

[PlaybackSessionManager] syncSession "9c0bde32-e499-4450-8ca9-88a979f432f9" (Device: iPhone13,2 / v0.9.77) | Total Time Listened: 71.21701383590698

2024-12-30 09:47:52.082

DEBUG

[PlaybackSessionManager] syncSession "9c0bde32-e499-4450-8ca9-88a979f432f9" (Device: iPhone13,2 / v0.9.77) | Total Time Listened: 101.22532081604004

2024-12-30 09:48:07.070

DEBUG

[PlaybackSessionManager] syncSession "9c0bde32-e499-4450-8ca9-88a979f432f9" (Device: iPhone13,2 / v0.9.77) | Total Time Listened: 116.23482894897461

2024-12-30 09:48:22.103

DEBUG

[PlaybackSessionManager] syncSession "9c0bde32-e499-4450-8ca9-88a979f432f9" (Device: iPhone13,2 / v0.9.77) | Total Time Listened: 131.23537588119507

2024-12-30 09:48:52.103

DEBUG

[PlaybackSessionManager] syncSession "9c0bde32-e499-4450-8ca9-88a979f432f9" (Device: iPhone13,2 / v0.9.77) | Total Time Listened: 161.2343168258667

2024-12-30 09:49:22.093

DEBUG

[PlaybackSessionManager] syncSession "9c0bde32-e499-4450-8ca9-88a979f432f9" (Device: iPhone13,2 / v0.9.77) | Total Time Listened: 191.23461484909058

2024-12-30 09:49:47.604

DEBUG

[PlaybackSessionManager] syncSession "9c0bde32-e499-4450-8ca9-88a979f432f9" (Device: iPhone13,2 / v0.9.77) | Total Time Listened: 206.23501110076904

2024-12-30 09:59:49.390

INFO

[PlaybackSessionManager] Syncing local session "The Swarm" (0178AD96-86B0-4F6E-9152-4945CEE2CC8B)

2024-12-30 09:59:49.427

DEBUG

[PlaybackSessionManager] Updated session for "The Swarm" (0178AD96-86B0-4F6E-9152-4945CEE2CC8B)

2024-12-30 09:59:49.465

DEBUG

[PlaybackSessionManager] Not updating progress for "The Swarm" because it has been updated more recently

Additional Notes

My setup for accessing it remotely is using my FQDN setup with Nginx proxy manager. I have websocket support, cache assets, block common exploits enabled in NGPM
crash_logs.txt

2025-01-02.txt

So just experienced the issue again while on my home network. The playback went back about 20 minutes or so from where I stopped the playback. Pulled the daily and crash logs and uploaded them here

@Abateman121 Abateman121 added the bug Something isn't working label Dec 30, 2024
@Abateman121
Copy link
Author

I will also try to remember to grab logs and record timestamps when it happens again. This issue is not 100% reproducible. I would say it happens like one out of every 5 or so playback sessions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant