remvze / moodist

🌲 Ambient sounds for focus and calm.
https://moodist.mvze.net
MIT License
1.03k stars 64 forks source link

[Feature Request] Play audio with-in the local docker #17

Open r1b4z01d opened 9 months ago

r1b4z01d commented 9 months ago

Thanks for all the hard work! This thing is great.

I would love to have the functionality to pipe the audio to the local docker vs the user's browser. The idea is that the server's sound card running docker would be connected to my whole house audio. A user would be able to change the sounds by browsing to the page, but it would not play on their device, it would play on the docker server.

Thanks again.

Node815 commented 6 months ago

I think this could be done with webhooks and something like Olivetin (also docker based), which then you could set up a button in Olivetin per sound and send a curl command. Moodist would certainly need to support, this, but it may be easier to implement than other solutions possibly.

tasty007 commented 1 day ago

I would love to have the functionality to pipe the audio to the local docker vs the user's browser. The idea is that the server's sound card running docker would be connected to my whole house audio. A user would be able to change the sounds by browsing to the page, but it would not play on their device, it would play on the docker server.

It's a great idea, I support the proposal, and I hope some great God can make it happen.

r1b4z01d commented 1 day ago

This is exactly what I wanted to do with it as well. I looked into it a bit around when I submitted the feature request but never finished. My use case keeps the same setting 99% of the time so I just have an open browser on one the machines in the server rack with the home audio amp. I remote into the machine to change it.

🙏 to the code gods 🙏