Using arduino for 24/7 streaming (hosting) music

I'm planning to do a cheap 24/7 Arduino Music streaming project.
I thought of getting a Pi Zero, only issue is that the promised 5 Euro / Dollar Pi Zero is not available for 5 Bucks, pre soldered.

Since I already have an Arduino Uno and an NodeMcu (esp8266) I was asking myself whether its possible to host a 24/7 music (youtube) stream via the arduino.
Info: With Stream I mean hosting, not watching.

If not, what would be the cheapest o the cheapest options here?

An RPi is a great deal more powerful than an Arduino and comes equipped with hardware for sound.

I doubt if any of the Arduinos or an ESP8266 would be suitable alternatives.

...R

Since I already have an Arduino Uno and an NodeMcu (esp8266) I was asking myself whether its possible to host a 24/7 music (youtube) stream via the arduino.

You might get a low quality audio stream running on that hardware but only in a loop (the music repeats after a few seconds) which is probably not what you expect.
If hosting means for you providing a service for the public internet, I seriously discourage you from doing so as these devices have no firewall active and the network protocols aren't hardened to resist attacks. These devices are not designed to be connected to the public internet and you shouldn't use the that way.

Info: With Stream I mean hosting, not watching.

Do you watch a music stream? Are you writing about a video stream? In that case simply forget anything below a Raspberry Pi.

I fully agree with Robin2. A Linux based platform is well suited for that task is probably the cheapest way to get a useful result.

The Device will be hosting a so called 24/7 Music Stream on YouTube.
Example: - YouTube
These streams don't reveal themselves to the public like 5yr olds on .onion sites.

The stream consists of a list of songs, being played one after another (randomly picked) so the low quality issue will not occur.

To save energy & resource I was planning to do this on a CLI Based Linux Distro.

BreadEatingBoard:
To save energy & resource I was planning to do this on a CLI Based Linux Distro.

That seems sensible, but it is not relevant to this Forum.

...R

These streams don't reveal themselves to the public like 5yr olds on .onion sites.

That stream is publicly accessible so from a security point of view it's open to anyone and naked on the internet, it's not required to announce them publicly.

The stream consists of a list of songs, being played one after another (randomly picked) so the low quality issue will not occur.

It will, as the available bitrate will be limited. You can provide a song with a bitrate of 256kb/s but if the hardware can only deliver 32kb/s no one will be able to hear your stream.

To save energy & resource I was planning to do this on a CLI Based Linux Distro.

That sounds like your accepted Robin2's advice. Did you?

I am confused. So what RPi model would be the most energy efficient and cheap? (RPi A?)
Perhaps I could still use the RPi Z but with advanced audio hardware.

2.) I get what you're saying but again, I haven't seen anyone getting phreaked through youtube videos/stream. Though I will look further into security.

3.) which answer are you talking about exactly? Robin2 never mentioned CLi in any of his replies.

BreadEatingBoard:
I am confused. So what RPi model would be the most energy efficient and cheap? (RPi A?)
Perhaps I could still use the RPi Z but with advanced audio hardware.

I just mentioned the RPI in general.

For advice about selecting an RPi board you should ask on an RPi Forum.

...R

will do thanks.

BreadEatingBoard:
I am confused. So what RPi model would be the most energy efficient and cheap? (RPi A?)

Presumably a Pi Zero, as it is the smallest. It only needs an Ethernet or WiFi connection to the internet and a USB port for flash storage. Nothing else.

BreadEatingBoard:
Perhaps I could still use the RPi Z but with advanced audio hardware.

If you are merely serving MP3 files from (flash) storage, audio hardware is completely irrelevant.

Hi Paul,

Yes the Pi Zero is the most efficent one but as pyplon and robin2 have said below, the audio quality would be terrible.
I was planning to put the audio files onto the card and then, as stated above (similar to the youtube link), stream it to youtube as a livestream with a .Giraffe background image.

BreadEatingBoard:
Yes the Pi Zero is the most efficent one but as pyplon and robin2 have said below, the audio quality would be terrible.

I had assumed you wanted to listen to the music through a loudspeaker attached to the RPI.

As @Paul__B has said, if you are just sending files to another PC then the audio ability of the sending device is irrelevant.

...R

Presumably a Pi Zero, as it is the smallest. It only needs an Ethernet or WiFi connection to the internet and a USB port for flash storage

The Pi Zero already contains Wi-Fi and an Ethernet socket.

Yes the Pi Zero is the most efficent one but as pyplon and robin2 have said below, the audio quality would be terrible.

No they did not, you misunderstood them. They were not talking if the Pi but the Arduino.

Quality of music is fine on the Pi, in fact CD quality.

I have streamed music to other devices in my home from a Pi Zero W. I used software called Mini-DLNA. Audio quality is as just the same as from any other PC or streaming device, because the music file is not altered in any way by the Pi (not transcoded). The quality depends on the quality of the original music file and of course the player.

The problem with your idea is bandwidth. If hundreds of people try to play your livestream at once, your broadband connection or the Pi will be overloaded, won't it?

@Mike, does the Pi Zero W have Ethernet? It certainly doesn't have a rj45 socket.

@Mike, does the Pi Zero W have Ethernet? It certainly doesn't have a rj45 socket.

True, but I think you can get an Ethernet Dongle for the USB socket.

Pi Zero is not available for 5 Bucks, pre soldered.

If you don't like soldering then there is this:-
https://shop.pimoroni.com/products/gpio-hammer-heade

Anyway I don't see why you need access to the GPIO pins for this project.

indeed.

Grumpy_Mike:
True, but I think you can get an Ethernet Dongle for the USB socket.

That is in fact what I was saying. And unless I am mistaken, it is the Pi Zero W that is the version with WiFi.