shoutcast

how to get informed of new song info while retrieving metadata from shoutcast stream

时光怂恿深爱的人放手 提交于 2019-12-04 17:09:00
Background: I'm streaming radio using double buffering approach for html shoutcast. I get metadata information from stream using http://www.smackfu.com/stuff/programming/shoutcast.html Problem I have three problems. 1- I already use a urlconnection and inputstream for listening radio. I don't want to open a new connection to retrieve metadata. But when I tried to get both from same inputstream, I couldn't listen radio anymore. I guess this is not possible and I have to use two seperate connection? Isn't it bad for performance? 2- When the application started, I retrieve the info of the current

Web player to use with SHOUTcast

戏子无情 提交于 2019-12-04 15:35:17
I'm looking for a web player to play a music stream from a SHOUTcast server. I setup a SHOUTcast DNAS 2.0 Server on CentOS. SHOUTcast can stream music to Windows Media player and winamp; however, I want to be able to stream music to an html pop-up window with a modern browser such as firefox, chrome, IE, safari. A Flash or HTML based player would be great that can handle loop playback and audio/mpeg streams; open source if possible. Any suggestions would be greatly appreciated :) Here are some free flash players with anti memory leak technology from Museter.com http://www.museter.com/SHOUTcast

HttpWebRequest for ShoutCast on Windows Phone7

左心房为你撑大大i 提交于 2019-12-04 14:43:39
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"; myHttpWebRequest.AllowReadStreamBuffering = true; //Call // Create an instance of the RequestState and assign the previous myHttpWebRequest object to its request field. RequestState myRequestState = new RequestState(); myRequestState.request = myHttpWebRequest; // Start the

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

寵の児 提交于 2019-12-04 12:15:21
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 variable? Any help will be deeply appreciated :) Kind regards, frigg From a little curl , it seems to be using shoutcast protocol, so you're looking for an early line starting with icy-name: $ curl http://89.238.146.142:7030 | head -5 % Total % Received % Xferd

can't play shoutcast ip with port with backgroundAudio on Windows Phone 8

你说的曾经没有我的故事 提交于 2019-12-04 07:19:05
I'm new in developing Windows Phone app, so sorry if I do some silly mistakes. I can't play shoutcast on WP 8, I already tried what suggested on someone else thread, but it doesn't help. Here's part of my code: (though it could play no shoutcast one) private static List<AudioTrack> _playList = new List<AudioTrack> { new AudioTrack(new Uri("http://198.50.156.4:8062/;",UriKind.RelativeOrAbsolute), "Radio Vision", null, null, null, null , EnabledPlayerControls.All), new AudioTrack(new Uri("http://live.radiocosmobandung.com.:8001/cosmo", UriKind.RelativeOrAbsolute), "Ardan Cosmo", null, null, null

Shoutcast streaming

南楼画角 提交于 2019-12-03 21:44:28
I'm currently working on a app for a podcast (katg.com) which will let you listen live etc... however, I have not found any open source code available to stream shoutcast. I know there are some ways of doing it, but I find it hard to find any available code on the net that explains it for a java/android beginner like myself. Anyone know of any libs/tutorial/examples/code that shows how to do this on android? As Erich seems to have accidentally posted the wrong link, here's another resource about the protocol: http://forums.radiotoolbox.com/viewtopic.php?t=74 The shoutcast stream itself is

Play a Shoutcast Stream on iPhone with HTML5

我是研究僧i 提交于 2019-12-03 16:31:57
I know this question is already asked in past, but i finally found no answer.... So I got a shoutcast stream, encoding audio/mpeg and I want create a web-app for my iphone to listen to my stream mobile. I tried several methods of http://mydomain.com:8000/ . With semicolon, with stream.nsv, with stream.nsv&type=mp3 and so on... I tested it everytime with the Safari browser und nothing happened. I tried several options in the html5 audio tag. preload, auto-buffering etc..... it's still quiet... Do you have any solutions or snippets or what else? Thank you :) Landi HTML5 streaming web pp for

Getting metadata from SHOUTcast using IcyStreamMeta

雨燕双飞 提交于 2019-12-03 15:33:38
I am writing an app for Android that grabs meta data from SHOUTcast mp3 streams. I am using a pretty nifty class I found online that I slightly modified, but I am still having 2 problems. 1) I have to continuously ping the server to update the metadata using a TimerTask. I am not fond of this approach but it was all I could think of. 2) There is a metric tonne of garbage collection while my app is running. Removing the TimerTask got rid of the garbage collection issue so I am not sure if I am just doing it wrong or if this is normal. Here is the class I am using: public class IcyStreamMeta {

Writing a Python Music Streamer

瘦欲@ 提交于 2019-12-02 15:37:31
I would like to implement a server in Python that streams music in MP3 format over HTTP. I would like it to broadcast the music such that a client can connect to the stream and start listening to whatever is currently playing, much like a radio station. Previously, I've implemented my own HTTP server in Python using SocketServer.TCPServer (yes I know BaseHTTPServer exists, just wanted to write a mini HTTP stack myself), so how would a music streamer be different architecturally? What libraries would I need to look at on the network side and on the MP3 side? The mp3 format was designed for

Android: Redirecting pls file so that mediaplayer can read it

旧城冷巷雨未停 提交于 2019-12-02 12:25:59
I want to play a radio shoutcast but its a pls file format by looking at the link: http://yp.shoutcast.com/sbin/tunein-station.pls?id=13361 It doesn't play at the moment, I have got: Initializing: player = new MediaPlayer(); try { player.setDataSource("http://yp.shoutcast.com/sbin/tunein-station.pls?id=13361"); } catch (IllegalArgumentException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (SecurityException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IllegalStateException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch