[Enhancement]: Option to disable Streaming #1707

Open
opened 2026-04-24 23:55:34 +02:00 by adam · 7 comments
Owner

Originally created by @izyspania on GitHub (Feb 1, 2024).

Describe the feature/enhancement

Is it possible (any plans) to add an option to disable Streaming? I want to allow some users only to download the books and play locally so i can decrease load on my server. Thanks

Originally created by @izyspania on GitHub (Feb 1, 2024). ### Describe the feature/enhancement Is it possible (any plans) to add an option to disable Streaming? I want to allow some users only to download the books and play locally so i can decrease load on my server. Thanks
adam added the enhancementbacklogusers & permissions labels 2026-04-24 23:55:35 +02:00
Author
Owner

@izyspania commented on GitHub (Feb 3, 2024):

Later Edit:
I think it can be done pretty easy, just add the option to the server panel and if enabled just make the server send an response like "you are not allowed" , we dont have to hide the Streaming (Play) button like the Download option does for downloads.

@izyspania commented on GitHub (Feb 3, 2024): Later Edit: I think it can be done pretty easy, just add the option to the server panel and if enabled just make the server send an response like "you are not allowed" , we dont have to hide the Streaming (Play) button like the Download option does for downloads.
Author
Owner

@colvdv commented on GitHub (Feb 5, 2024):

Later Edit: I think it can be done pretty easy, just add the option to the server panel and if enabled just make the server send an response like "you are not allowed" , we dont have to hide the Streaming (Play) button like the Download option does for downloads.

I would prefer to see the "Play" button replaced with a "Download" button. Makes for a cleaner interface experience.

@colvdv commented on GitHub (Feb 5, 2024): > Later Edit: I think it can be done pretty easy, just add the option to the server panel and if enabled just make the server send an response like "you are not allowed" , we dont have to hide the Streaming (Play) button like the Download option does for downloads. I would prefer to see the "Play" button replaced with a "Download" button. Makes for a cleaner interface experience.
Author
Owner

@ZLoth commented on GitHub (May 18, 2024):

Describe the feature/enhancement

Is it possible (any plans) to add an option to disable Streaming? I want to allow some users only to download the books and play locally so i can decrease load on my server. Thanks

Is it because of server load or of available bandwidth? I can see the possibility of allowing streaming if on the local network, but downloads if off network (and vice versa).

@ZLoth commented on GitHub (May 18, 2024): > ### Describe the feature/enhancement > Is it possible (any plans) to add an option to disable Streaming? I want to allow some users only to download the books and play locally so i can decrease load on my server. Thanks Is it because of server load or of available bandwidth? I can see the possibility of allowing streaming if on the local network, but downloads if off network (and vice versa).
Author
Owner

@colvdv commented on GitHub (May 18, 2024):

Describe the feature/enhancement

Is it possible (any plans) to add an option to disable Streaming? I want to allow some users only to download the books and play locally so i can decrease load on my server. Thanks

Is it because of server load or of available bandwidth?

For me it is because of server load; old laptop hosting it. Bandwidth I have plenty.

@colvdv commented on GitHub (May 18, 2024): > > ### Describe the feature/enhancement > > Is it possible (any plans) to add an option to disable Streaming? I want to allow some users only to download the books and play locally so i can decrease load on my server. Thanks > > Is it because of server load or of available bandwidth? > For me it is because of server load; old laptop hosting it. Bandwidth I have plenty.
Author
Owner

@nichwall commented on GitHub (May 18, 2024):

For me it is because of server load; old laptop hosting it. Bandwidth I have plenty.

If the client can direct play, the server is just serving a file and updating progress which is very light on CPU. Downloading does not transcode the file and just serves the file as well.

If the client cannot directly play the media, it will need to be transcoded either way.

@nichwall commented on GitHub (May 18, 2024): > For me it is because of server load; old laptop hosting it. Bandwidth I have plenty. If the client can direct play, the server is just serving a file and updating progress which is very light on CPU. Downloading does not transcode the file and just serves the file as well. If the client cannot directly play the media, it will need to be transcoded either way.
Author
Owner

@colvdv commented on GitHub (May 18, 2024):

For me it is because of server load; old laptop hosting it. Bandwidth I have plenty.

If the client can direct play, the server is just serving a file and updating progress which is very light on CPU.

The issue I have is the hard disk is old and maxing out at 100% usage from simple tasks. So less hard disk usage is better, hence why I want to force downloading over streaming.

I am working toward replacing it with a SSD, but a download only feature would still be useful even after the switch is made.

@colvdv commented on GitHub (May 18, 2024): > > For me it is because of server load; old laptop hosting it. Bandwidth I have plenty. > > If the client can direct play, the server is just serving a file and updating progress which is very light on CPU. > The issue I have is the hard disk is old and maxing out at 100% usage from simple tasks. So less hard disk usage is better, hence why I want to force downloading over streaming. I am working toward replacing it with a SSD, but a download only feature would still be useful even after the switch is made.
Author
Owner

@ZRiddle commented on GitHub (Apr 2, 2026):

I've submitted a PR for this: #5164

It adds a per-user "Can Stream" permission that mirrors the existing "Can Download" toggle. Enforcement is at playback session creation. Defaults to true so it's non-breaking on upgrade.

Happy to adjust the approach based on feedback.

@ZRiddle commented on GitHub (Apr 2, 2026): I've submitted a PR for this: [#5164](https://github.com/advplyr/audiobookshelf/issues/5164) It adds a per-user "Can Stream" permission that mirrors the existing "Can Download" toggle. Enforcement is at playback session creation. Defaults to true so it's non-breaking on upgrade. Happy to adjust the approach based on feedback.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1707