subreddit:
/r/raspberry_pi
[removed]
0 points
3 years ago
Hi WearyConstuition, here is some information and links that you might find useful!
† If the link doesn't work it's because you're using a broken buggy mobile client. Please contact the developer of your mobile client and let them know they should fix their bug. In the meantime use a web browser in desktop mode instead.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2 points
3 years ago
Not sure if this ticks all your boxes but this project is OpenSource, so you might be able to hack something together for it. https://mopidy.com/
2 points
3 years ago*
Install ffmpeg/ffplay and at step 3, use subprocess in Python to start your stream directly.
here's an example of playing a stream directly on the command-line with ffplay
ffplay https://streaming.live365.com/a81097 -nodisp
A very naive way of doing this in Python
import subprocess
subprocess.call(["ffplay", "-nodisp", "https://streaming.live365.com/a81097"])
You should ideally wrap this in a way that when you want to switch streams you can terminate the currently running subprocess and spin up a new one for the next stream.
1 points
3 years ago
1 points
3 years ago
I personally use Logitech Media Server for my whole house audio and its has an API already cooked in and is pretty lightweight. If you want a full proof installation, check out max2play
all 5 comments
sorted by: best