Playing an Apple lossless file from anywhere other than the start results in transcode stopping and starting #601

Closed
opened 2026-04-24 23:29:29 +02:00 by adam · 0 comments
Owner

Originally created by @pendletong on GitHub (Jun 27, 2023).

Steps to reproduce

  1. Play ALAC audiobook from beginning
  2. Stop at some point
  3. Try and continue playing audiobook some time later

nb this also seems to happen if you start an alac audiobook and then skip forward (click on timeline forward an hour, for example)

Expected behaviour

  • Play should continue from the previous point or where you click on the timeline

Actual behaviour

  • At best you constantly hear .5 second snippets of the audiobook between gaps (doesn't seem to actually be continuing the flow in those .5 second snippets, it appears to be missing bits)
  • See attached log. The Transcode killed/start stream is what happens while playing. Then, If you stop play in the browser the log continues with the [STREAM-CHECK] Check Files X of Y or Failed checking files Error: ENOENT: no such file or directory, scandir '/metadata/streams/
  • Sometimes the Check Files X of Y will get to Y of Y and finish, other times the application will crash and the docker container will stop (I haven't spotted any logs for this crash, any ideas where they might be?)

Environment data

Audiobookshelf Version: 2.2.23
Running in a Docker image on a Macbook Air M2. Docker has 6GB allocated.

  • Android App?
  • iOS App?
  • Web browser - Mac Arc version 0.109.0

Android Issue

Android version:

Device model:

Stock or customized system:

iOS Issue

iOS Version:

iPhone model:
2023-06-27 01:42:55.log

Originally created by @pendletong on GitHub (Jun 27, 2023). ### Steps to reproduce 1. Play ALAC audiobook from beginning 2. Stop at some point 3. Try and continue playing audiobook some time later nb this also seems to happen if you start an alac audiobook and then skip forward (click on timeline forward an hour, for example) ### Expected behaviour - Play should continue from the previous point or where you click on the timeline ### Actual behaviour - At best you constantly hear .5 second snippets of the audiobook between gaps (doesn't seem to actually be continuing the flow in those .5 second snippets, it appears to be missing bits) - See attached log. The Transcode killed/start stream is what happens while playing. Then, If you stop play in the browser the log continues with the _[STREAM-CHECK] Check Files X of Y_ or _Failed checking files Error: ENOENT: no such file or directory, scandir '/metadata/streams/_ - Sometimes the Check Files X of Y will get to Y of Y and finish, other times the application will crash and the docker container will stop (I haven't spotted any logs for this crash, any ideas where they might be?) ### Environment data Audiobookshelf Version: 2.2.23 Running in a Docker image on a Macbook Air M2. Docker has 6GB allocated. - [ ] Android App? - [ ] iOS App? - [x] Web browser - Mac Arc version 0.109.0 #### Android Issue Android version: Device model: Stock or customized system: #### iOS Issue iOS Version: iPhone model: [2023-06-27 01:42:55.log](https://github.com/advplyr/audiobookshelf-app/files/11879808/2023-06-27.01.42.55.log)
adam added the bug label 2026-04-24 23:29:29 +02:00
adam closed this issue 2026-04-24 23:29:30 +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#601