I have a raspberry pi 2 model B and a raspberry pi 1 (I think, it doesn't have any version number on it and I have had it for a long time and I don't quite remember exactly the version). I think the raspberry pi 2 would be better to do it on but It's already in use and I would want to use the other pi.
So I want to play music on the speakers connected to the pi from a stream, which I already have the URL for. How would I do this without any external modules and libraries. Please note that this is a learning project so I would like to do it without external libraries. I know both javascipt(nodejs) and python, so both of the two languages could be used in solutions.
Sorry for my English, if anything is unclear please comment and I'll try to clarify it.