internet-radio

I have a few questions about the setup of an mp3 radio stream

℡╲_俬逩灬. 提交于 2020-01-05 05:55:29
问题 What's the difference between all of these? And what are their meanings? /;stream.mp3 [What exactly does the ; semicolon signify after the / slash?] Also, what's the difference if I take off the stream.mp3 , and just leave the semicolon after the slash /; or if I leave `stream.mp3 attached? /stream [How come this one has only stream , and that's it. [There's no ; semicolon after the / slash and there's no stream.mp3 ? Why would one stream be able to work without a semicolon, and why would one

Python Way to check whether internet radio stream is avaliable/live

时光毁灭记忆、已成空白 提交于 2020-01-03 12:35:39
问题 I work on collecting internet radio stream files such as m3u with a link to stream inside (for example http://aska.ru-hoster.com:8053/autodj) . I didn`t find example on how it is possible to check if the link is avaliable/live . Any help is appreciated ! UPD: Maybe the main question should sound like: Could be a stream broken? If yes, will the link for that stream be still available or there will be simply 404 error in browser? If link still available to open even stream is dead, what are

Python Way to check whether internet radio stream is avaliable/live

强颜欢笑 提交于 2020-01-03 12:34:07
问题 I work on collecting internet radio stream files such as m3u with a link to stream inside (for example http://aska.ru-hoster.com:8053/autodj) . I didn`t find example on how it is possible to check if the link is avaliable/live . Any help is appreciated ! UPD: Maybe the main question should sound like: Could be a stream broken? If yes, will the link for that stream be still available or there will be simply 404 error in browser? If link still available to open even stream is dead, what are

Android: Redirecting pls file so that mediaplayer can read it

不羁岁月 提交于 2019-12-31 06:20:29
问题 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(); }

Android: Redirecting pls file so that mediaplayer can read it

青春壹個敷衍的年華 提交于 2019-12-31 06:20:02
问题 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(); }

SHOUTcast server in Java

旧时模样 提交于 2019-12-25 05:21:37
问题 I'm making a shoutcast server in Java and I've a hit a bump in the road. My server can stream data well if I send the client (VLC/WINAMP) an HTTP response: HTTP/1.1 200 OK\r\nContent-Type:audio/mpeg\r\n\r\n\ and then start streaming the files, However, when I send the client an ICY response, the sound starts getting a little bit choppy and squeaky and sometimes plays a little bit fast. Sometimes it plays little bits of chunks from all the songs in the playlist at the same time but if I

SHOUTcast server in Java

故事扮演 提交于 2019-12-25 05:21:02
问题 I'm making a shoutcast server in Java and I've a hit a bump in the road. My server can stream data well if I send the client (VLC/WINAMP) an HTTP response: HTTP/1.1 200 OK\r\nContent-Type:audio/mpeg\r\n\r\n\ and then start streaming the files, However, when I send the client an ICY response, the sound starts getting a little bit choppy and squeaky and sometimes plays a little bit fast. Sometimes it plays little bits of chunks from all the songs in the playlist at the same time but if I

get info from streaming radio

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-14 02:26:41
问题 There is some standard way to ask a streaming radio service about the currently playing song? I currently do it in a different way for each station, e.g. (SomaFM): $wg=join("\n",`wget -q -O - https://somafm.com/secretagent/songhistory.html`); $wg=~/\(Now\).*>([^<]*)<\/a><\/td><td>([^<]*)/s; print "Secret Agent\n$1\n$2\n" or (Radio Svizzera Classica): $wg=join("\n",`wget -q -O - http://www.radioswissclassic.ch/en`); $wg=~/On Air.*?titletag">([^<]*).*?artist">([^<]*)/s; print "Radio Svizzera

Fetch Icecast song title without buffering audio

蹲街弑〆低调 提交于 2019-12-13 18:34:09
问题 I want to write a small JavaScript library that can fetch "now playing" data for Icecast streams. From what I understand, I can do this by sending a HTTP request to a radio stream as follows: GET /radiotunes_bebop HTTP/1.1 Host: pub2.radiotunes.com Icy-MetaData:1 The server will then answer with some reponse headers. One of them is the icy-metaint field that indicates the interval at which the metadata is inserted into the stream. The metadata will look something like this: StreamTitle=

Streaming AAC audio in an Android application

允我心安 提交于 2019-12-13 18:23:15
问题 I am trying to program a simple Android app that will stream an internet radio station (I have the url), but the stream is aac audio. I am aware of COREaac, but there isn't alot of documentation about it. Is there a separate decoding library I need to get this app to work? Any suggestions would be helpful or if anyone has had a similar issue and resolved it. Thanks 回答1: All what you need is here: AACPlayer - android 来源: https://stackoverflow.com/questions/9009204/streaming-aac-audio-in-an