[Enhancement]: Save streams between sessions #195

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

Originally created by @MidnightSnowleopard on GitHub (Feb 1, 2022).

Describe the feature/enhancement

As it stands currently every time a stream is closed for any reason, Audiobookshelf completely deletes the entire transcode stream. This seems wasteful as all of the information has been converted to the HLS format already and, to the best of my understanding, still be ready and valid to resume playing.

I would like to see the ability to save up to a certain number of books/files/total size of stream for re-play later so transcoding doesn't need to happen as often and the churn of files being created and deleted is minimized.

Low priority request as in general transcoding isn't massively taxing on a system but would appreciate it due to some slowness regarding clearing streams that is entirely due to my own setup.

Originally created by @MidnightSnowleopard on GitHub (Feb 1, 2022). ### Describe the feature/enhancement As it stands currently every time a stream is closed for any reason, Audiobookshelf completely deletes the entire transcode stream. This seems wasteful as all of the information has been converted to the HLS format already and, to the best of my understanding, still be ready and valid to resume playing. I would like to see the ability to save up to a certain number of books/files/total size of stream for re-play later so transcoding doesn't need to happen as often and the churn of files being created and deleted is minimized. Low priority request as in general transcoding isn't massively taxing on a system but would appreciate it due to some slowness regarding clearing streams that is entirely due to my own setup.
adam added the enhancement label 2026-04-24 23:00:55 +02:00
adam closed this issue 2026-04-24 23:00:55 +02:00
Author
Owner

@advplyr commented on GitHub (Feb 1, 2022):

Yeah I agree this can be improved. Another big improvement will be allowing direct stream when possible instead of transcoding.

@advplyr commented on GitHub (Feb 1, 2022): Yeah I agree this can be improved. Another big improvement will be allowing direct stream when possible instead of transcoding.
Author
Owner

@MidnightSnowleopard commented on GitHub (Feb 1, 2022):

Direct stream would be amazing for a lot of media but that introduces a lot more different avenues for issues with compatibility.

I'll stick with the much smaller and hopefully easier to implement idea of just keeping some streams around for now.

@MidnightSnowleopard commented on GitHub (Feb 1, 2022): Direct stream would be amazing for a lot of media but that introduces a lot more different avenues for issues with compatibility. I'll stick with the much smaller and hopefully easier to implement idea of just keeping some streams around for now.
Author
Owner

@advplyr commented on GitHub (Apr 24, 2022):

Direct play is not supported on the web app and android app. For me my entire collection can be direct played so transcoding shouldn't be so common that this is required anymore.

@advplyr commented on GitHub (Apr 24, 2022): Direct play is not supported on the web app and android app. For me my entire collection can be direct played so transcoding shouldn't be so common that this is required anymore.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#195