shoutcast

shoutcast pls forbidden for iPhone programatically?

I have been trying to access the pls file data from shoutcast for some testing but the response seems to be forbidden and i am getting 403 as response. here is the code NSURL *myurl = [NSURL URLWithString:@"http://yp.shoutcast.com/sbin/tunein-station.pls?id=9944"] ; //Accept:*/* NSMutableURLRequest *myrequest = [[NSMutableURLRequest a...

Play Shoutcast MP3 radio stream with Python?

I have managed to create an online radio station using Shoutcast and Sam Broadcaster. Now, I am wanting to build my own player for that radio station. I am not sure where to begin, I have googled, but no luck. I am using Python 2.6 on Microsoft Windows. I have managed to capture the stream and save it as an MP3 on the hard disk, just no...

Play Shoutcast Radio stream in Python?

I know this is a second post on the same topic, but I am doing this in hopes of some help. I am trying to create a player for my Shoutcast internet radio station, but I can't seem to get anything to work. It is a live MP3 broadcast. When you click the link to tune in, it gives a .PLS file with the server url in it. Anyone have any ideas ...

Convert shoutcast stream to playable samples in Python?

I have a shoutcat radio station and now want to build a player for it. I know how to "get" thet stream from the server, thanks a lot to bobince , but I am not sure how to convert that stream into playable samples. How is it done? ...

Python: Get name of shoutcast/internet radio station from url

I've been trying to get the name/title of internet radio stations based on the url in python, but with no luck so far. It seems that internet radio stations use another protocol than HTTP, but please correct me if I'm wrong. For example: http://89.238.146.142:7030 Has the title: "Ibiza Global Radio" How can i store this title in a var...

Streaming Shoutcast station in iPad

Hi, I am developing an iPad application for live streaming from Shoutcast radio stations. I could get the playlist URL as mentioned in the API documentation: http://dev.aol.com/SHOUTcast/documentation I parsed and obtained the URL of the form "http://xxx.yyy.zz.ww:nnnn" which could be played using iPhoneStreamingPlayer sample code. S...

Parsing SHOUTcast server information table with Javascript?

I'm currently trying to parse the html page http://84.19.184.204:8000/played.html using JS. But it's been hard since I'm new to JS... The html page contains a table which has the history of last played songs... This list is what I want to parse. I use XMLHttpRequest() but I can't understand how to parse the elements :( Can someone h...

HttpWebRequest for ShoutCast on Windows Phone7

Hi I tring to stream shoutcast stream in my window phone 7 app I start an async HttpWebRequest like this //Init Request HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create("http://ACommonoShoutCastUrl:8000"); myHttpWebRequest.Headers["Icy-MetaData"] = "1"; myHttpWebRequest.UserAgent = "WinampMPEG/5.09"; myHttpWebRe...

How to get a byte stream from a url link?

I'm currently trying to open a stream using AS2 and parse the incoming data. How can I do such thing using strictly AS2, flash 8 or lower? Essentially I want to read the incoming data from a radio station from SHOUTcast and parse it's meta data. I don't need to playback this station. Thanks! -Jona ...

Stream Java audio to an icecast/shoutcast server? Pipes and stdin?

I'm using a java music library called JavaMod. I want to stream the output of the java audio system to a shoutcast server. "ezstream" is a command line tool that accept stdin and encode/stream it to an icecast/shoutcast server, but I'm not sure how to hook ezstream into the java audio system. How do I 'register' the stdin of "ezstream...

android code for streaming shoutcast stream breaks in 2.2

The following code works fine on Android 2.1update1 - package com.troubadorian.android.teststreaming; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.view.Window; import android.view.animation.Anima...

How to retrieve block-length of an IceCast-Stream?

IceCast is very similar to Shoutcast which gives you its data-block-length in the header via icy-metaint. The stream I work with (an IceCast-stream) doesn't seem to have such a value. How can I retrieve the length of a data-block? ...

Streaming audio from a Node.js server to HTML5 <audio> tag

Hi everyone, I've been experimenting with binary streams in Node.js, and much to my amazement do actually have a working demo of taking a Shoutcast stream using node-radio-stream and pushing it into a HTML5 element using chunked encoding. But it only works in Safari! Here is my server code: var radio = require("radio-stream"); var ht...

Unable to manipulate string

In my website i have a script that return the current song that playing from my shoutcast server in a format of: "artist-track", what i want to do is to take that string and split it to 2 strings: artist and track, in order to do that i wrapped the script in server tag like this: <div id="nowPlaying" runat="server"> <script type="tex...

How to peek for icecast [relays'] metadata without real "data" connection?

I have an icecast2 relay and want to collect some stats about tracks being transfered. I'm now peeping into relayed streams themselves with twisted shoutcast procol client, but that's prone to errors, mangles server stats and imposes unnecessary load on server. ...