LeoKlaus / plappa

An Audiobook client for Jellyfin and AudioBookShelf, written in Swift/SwiftUI.
https://plappa.me
237 stars 1 forks source link

[BUG] Unable to stream any audiobook #213

Closed CaptainEureka closed 2 weeks ago

CaptainEureka commented 3 weeks ago

Describe the bug I am unable to stream any audiobook that hasn't been downloaded in Plappa. Downloaded audiobooks work and sync progress as normal.

To Reproduce Steps to reproduce the behavior:

  1. Go to Plappa
  2. Click on any not downloaded audiobook
  3. Try to play/resume
  4. Playback doesn't start

Expected behavior Expect to be able to stream any undownloaded audiobook

Screenshots NaN

Logs If applicable, add logs from plappa (Settings->Get Debug Logs) or Jellyfin (Dashboard->Advanced->Logs).

[7/11/2024, 9:04] [AudioBookShelfAPIHandler] Successfully posted sessions
[7/11/2024, 9:05] [AudioBookShelfAPIHandler] Successfully pushed playbackstates
[7/11/2024, 9:05] [AudioBookShelfAPIHandler] Successfully pushed playbackstates
[7/11/2024, 9:05] [AudioBookShelfAPIHandler] Successfully posted session
[7/11/2024, 9:05] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:05] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:05] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:05] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:05] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:05] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:05] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:05] [JellyfinAPIHandler] Couldn't connect to server: Could not connect to the server.
[7/11/2024, 9:05] [AudioBookShelfAPIHandler] Couldn't connect to server: Could not connect to the server.
[7/11/2024, 9:06] [PlaybackStateHandler] Syncing playback states through server
[7/11/2024, 9:06] [PlaybackSessionHandler] Syncing playback sessions through server
[7/11/2024, 9:06] [SoundHandler] Tried to save playback state with invalid audiobook.
[7/11/2024, 9:06] [AudioBookShelfAPIHandler] Successfully posted sessions
[7/11/2024, 9:06] [AudioBookShelfAPIHandler] Deleted outdated cover image
[7/11/2024, 9:06] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:06] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:06] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:06] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:06] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:06] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:06] [AudioBookShelfAPIHandler] Successfully posted sessions
[7/11/2024, 9:06] [PlaybackSessionHandler] Current session seems unchanged.
[7/11/2024, 9:06] [SoundHandler] Tried to save playback state with invalid audiobook.

Environment(please complete the following information):

Additional context Playing directly from Audiobookshelf in the browser on mobile does work

LeoKlaus commented 3 weeks ago

ABS Version 2.16.1 has a bug that causes the server to crash when streaming files. This has been fixed in 2.16.2. Just upgrade your server and you're good to go!

CaptainEureka commented 3 weeks ago

Cheers, thanks for the quick reply. I'll give that a go and report here.

LeoKlaus commented 2 weeks ago

I'm assuming this is fixed. If not, please reopen :)