Page 1 of 1

Icebreath2 - The data API designed for online radio stations

Posted: Sat Jul 05, 2014 5:12 am
by TheAuzzieBrony
Hey All!

Now I'm not one for really explaining things well but here it goes, for the past month or so I have been working on a PHP based API for pulling data from Icecast, SHOUTcast and ShoutIRC. Today I have released the first BETA copy for people to use and I thought that people here might be interested.

Currently the 'controllers' for Icecast and SHOUTcast are finished and work, on the other hand I am still working on the ShoutIRC controller.

Icebreath2 has it's own GIT repo over on GitHub which can be found here, https://github.com/TheAuzzieBrony/Icebreath2

Any feedback on the system would be awesome, I looking to see how well it works for people and what you all would like to see added to it.

Re: Icebreath2 - The data API designed for online radio stat

Posted: Sat Jul 05, 2014 11:02 am
by Indy
Cool, looks neat :)

Re: Icebreath2 - The data API designed for online radio stat

Posted: Sat Jul 05, 2014 4:32 pm
by danyal
any demo link?

Re: Icebreath2 - The data API designed for online radio stat

Posted: Sun Jul 06, 2014 1:42 am
by TheAuzzieBrony
Right now, the only real demo I have is the one that is currently running on my own station right now, https://hiveradio.net/icebreath

We have the Icecast and ShoutIRC controllers enabled.

Our Icecast stats can be seen here: https://hiveradio.net/icebreath/icecast/stats

As for the ShoutIRC controller, there isn't much it can do right now apart from list songs and artists.
https://hiveradio.net/icebreath/shoutirc/song
https://hiveradio.net/icebreath/shoutirc/artist

Re: Icebreath2 - The data API designed for online radio stat

Posted: Sun Jul 06, 2014 1:49 am
by TheAuzzieBrony
Another quick thing, if you are going to look at any of those links I recommend this plugin if you are using chrome https://chrome.google.com/webstore/deta ... lnmc?hl=en


Another thing I forgot to mention is that you can change the format that it returns in by adding a piece to the URL /format/[JSON|JSONp|XML|HTML|TEXT]. So for example, if I wanted the list of songs in XML i would do the following, https://hiveradio.net/icebreath/format/ ... utirc/song (and by the looks of it there is a bug that needs fixing right now)

EDIT: I have a feeling that the error being returned when requesting the XML format is because we have some songs with some areas that have no content (like title or artist name, etc.)