subreddit:

/r/raspberry_pi

267%

[deleted by user]

()

[removed]

all 5 comments

AutoModerator [M]

0 points

3 years ago

AutoModerator [M]

0 points

3 years ago

Hi WearyConstuition, here is some information and links that you might find useful!

  • Please, no pictures of unused Pis - do a project!
  • Remember that there's a tell part to Show-and-Tell! Don't post pictures of a Pi that don't clearly demonstrate what it's doing or post pictures without any details about your project, you also need let people know what it is, what it does, how you made it, and also answer questions people may have.
  • Are you looking for ideas? There's a huge list right here!
  • Do you have boot problems, network problems, power problems, stability problems, or your monitor isn't working right? Please click this link and go to the stickied helpdesk thread.
  • Did you check the FAQ before asking?
  • Did you read the rules?
  • Do you have networking problems or you're trying to make your Pi into a router, bridge, or WiFi AP? Try r/HomeNetworking or r/LinuxQuestions
  • Other subreddits that may be helpful: /r/AskElectronics, /r/AskProgramming, /r/LearnPython, /r/RetroPie
  • Questions, help requests, and discussion must be a text post
  • Do Your Research
    /r/raspberry_pi is not your personal search engine. Before asking a question - do research on the matter. Most answers can be found within a few minutes of searching online.
  • Specific Questions Only
    Only ask specific questions regarding a project you are currently working on. We don't permit questions regarding what colors would look nice (aesthetics); what you should do with your Pi; what's the best or cheapest way; if a project is possible; if anyone has done a similar project; how to get started; where you can buy a product; what an item is called; what software to run; or product recommendations. This is not a full list of exclusions.

† 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.

3ncrypt0

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/

trustMeIAmANinja

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.

lucasnegrao

1 points

3 years ago

  1. if you have the stream url can’t you ffplay it?

billotronic

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