PDA

View Full Version : Internet Radio : Specifications?



mdwoolley
2009-07-04, 03:23
Hi

I want to write some software which will behave kind of like an internet radio station in that my squeezebox can "tune into" it's URL and music will be streamed from the radio station to it and be played in the usual way.

Can anyone point me at the formal specifications which an internet radio station must comply with for the squeezebox to be able to
- play it's digital music
- display information
- anything else relevent to this topic

Thanks in anticipation

Martin

toby10
2009-07-04, 03:46
http://www.poromenos.org/tutorials/icecast

bpa
2009-07-04, 04:13
This explains how metadata is mebedded in MP3/AAC streams using Shoutcast ICY protocol

http://www.smackfu.com/stuff/programming/shoutcast.html

Edna is a basic MP3 server will also help.
http://edna.sourceforge.net/

You should also look at HTTP headers as to how podcast can be ffwd/rew if you are not doing live streams.

mdwoolley
2009-07-04, 04:14
Thanks for the fast reply toby10 :-)

But I'm not looking for ways in which I can use 3rd party applications to achieve this, I want to develop some software from scratch (partly for the "fun" of it!) so I'm more looking for the technical specifications that apply.

bpa
2009-07-04, 05:25
AFAIK there is no single technical spec produced by IEEE or IETF or similar.

The uPNP spec might be helpful but most of that is not to do with audio streaming but helping user find which stream to serve.

Basically audio is streamed using HTTP and a GET. There are a few special HTTP headers that indicate byte offset but it is up to server to handle them - I think w3c will define those.

The descripton of metadata is given in the link I posted earlier.

mdwoolley
2009-07-04, 05:44
That's great, thanks for your help. I'll review the links you posted with interested :-)

toby10
2009-07-04, 05:51
Thanks for the fast reply toby10 :-)

But I'm not looking for ways in which I can use 3rd party applications to achieve this, I want to develop some software from scratch (partly for the "fun" of it!) so I'm more looking for the technical specifications that apply.

Yes, but I think understanding the basics and how others achieve the same results may well help in understanding how to do it on your own. :)

It could help in the areas of creativity, what is possible, and avoiding some technical stumbling blocks.

I'd be happy to tune in your project and offer some (albeit basic) feedback. Let me know if I can help. :)

mdwoolley
2009-07-04, 07:49
Thanks Toby, I appreciate the offer and comments. Let's see if I can make this thing work now :-)

PeterGV
2009-07-11, 09:30
@mdwoolley:

I've actually done what you're it sounds like you're looking to do (create your own MP3 streaming source with track/artist metadata tags). The way I did this was to write my own special-purpose Icecast/SHOUTcast compatible server. It's gratifyingly simple. The link that bpa provided on smackfu.com is the key.

Note that Icecast itself is also open source, so you can gain some good insight into what they do.

Good luck in your project,

Peter