advplyr / audiobookshelf-app

Mobile application for Audiobookshelf
https://audiobookshelf.org
GNU General Public License v3.0
1.08k stars 148 forks source link

[Enhancement]: Option to output to server's sound device #1202

Open Gregg234 opened 1 month ago

Gregg234 commented 1 month ago

Describe the Feature/Enhancement

An option to output audio to a local device on the server (to /dev/snd?)

Why would this be helpful?

The audio could output direct from the server via headphone jack into an audio system.

For a more complex installation, this could be integrated with a separate multiplexer/redistribution service on the server eg, It could possibly allow integration with something like "Home Assistant" where ABS would become an "audio source" with distribution under the the control of HA, allowing the book to "follow" the listener from room to room.

I believe this would all be achievable using current software, if the audio can be output via the standard /dev/snd.

Future Implementation (Screenshot)

A drop-down menu near the "now playing" section of the screen giving the option of various "media players" - some options being "server output" or "browser/app output"

Audiobookshelf App Version

Android App - 0.9.63

Current Implementation (Screenshot)

The idea is to not have a screen most of the time

nichwall commented 1 month ago

Related: https://github.com/advplyr/audiobookshelf/issues/405 https://github.com/advplyr/audiobookshelf/issues/316 https://github.com/advplyr/audiobookshelf-app/issues/1146