internet-radio

Python 3 get song name from internet radio stream

谁都会走 提交于 2019-12-03 22:02:12
How can I get song name from internet radio stream? Python: Get name of shoutcast/internet radio station from url I looked here, but there is only getting name of radio station. But how to get name of the playing song? Here is stream link from where I want to get name of song. http://pool.cdn.lagardere.cz/fm-evropa2-128 How should I do it? Can you help me please? To get the stream title, you need to request metadata. See shoutcast/icecast protocol description : #!/usr/bin/env python from __future__ import print_function import re import struct import sys try: import urllib2 except ImportError:

High audio latency with Icecast and Darkice

☆樱花仙子☆ 提交于 2019-12-03 06:13:09
I have successfully installed icecast and darkice on my ubuntu machine and was able to stream live on my lan. but to my disappointment it has a 15sec to 20sec delay.This is very poor performance. I don't think it is because of my lan connection because even when i tried to listen in that same ubuntu machine there was still a delay! I have tried to configure icecast to have no burst-size which means there will be no buffering,this helped me reduce the delay to around 6sec to 8sec. So please if you have any suggestions or very good configuration values it would be of great help to me. P.S the

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

Android - internet radio streaming [closed]

北城以北 提交于 2019-11-30 05:53:26
I am planing to make a android app for one local radio station I need to make internet streaming of radio program Can you please provide some starting point for this, some tutorial or something. The URL for the source is: http://shoutcast2.omroep.nl:8104/ To initialize the MediaPlayer, you need a few lines of code. There you go: MediaPlayer player = new MediaPlayer(); player.setDataSource("http://shoutcast2.omroep.nl:8104/"); Now that the MediaPlayer object is initialized, you are ready to start streaming. Ok, not actually. You will need to issue the MediaPlayer's prepare command. There are 2

Android - internet radio streaming [closed]

别来无恙 提交于 2019-11-29 04:05:03
问题 I am planing to make a android app for one local radio station I need to make internet streaming of radio program Can you please provide some starting point for this, some tutorial or something. 回答1: The URL for the source is: http://shoutcast2.omroep.nl:8104/ To initialize the MediaPlayer, you need a few lines of code. There you go: MediaPlayer player = new MediaPlayer(); player.setDataSource("http://shoutcast2.omroep.nl:8104/"); Now that the MediaPlayer object is initialized, you are ready

What is the best way to stream a audio file to website users/listeners [closed]

巧了我就是萌 提交于 2019-11-28 16:15:45
I'm developing a music site which will stream audio files stored in a server to users, audio files will be played through flash player placed in a webpage.. As I heard I need to use a streaming media server for streaming audio files ( like 2mb to 3mb in size).. Do I need to use one? I found some streaming media server softwares like http://www.icecast.org - but as in their documentation, It is used for streaming radio stations and live streaming purposes, but I just need to stream audio files faster and in low size (low bandwidth) with good quality.. I heard I need to encode the audio files

Overriding Node.js HTTP parser

邮差的信 提交于 2019-11-28 08:42:22
I am using Node's basic http.request() function without problem on normal HTTP servers. I need to use http.request() (or similar) with SHOUTcast servers. The SHOUTcast "protocol" is fully compatible with HTTP, except for one detail... the first response line. Normal HTTP servers respond with: HTTP/1.1 200 OK SHOUTcast servers respond with: ICY 200 OK Again, the rest of the protocol is the same. The only difference is HTTP/1.x vs. ICY . I would like to extend, subclass, or somehow modify Node's http.request() function so that I can make it work with SHOUTcast servers. Connecting to SHOUTcast

What is the best way to stream a audio file to website users/listeners [closed]

最后都变了- 提交于 2019-11-27 09:38:42
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 11 months ago . I'm developing a music site which will stream audio files stored in a server to users, audio files will be played through flash player placed in a webpage.. As I heard I need to use a streaming media server for streaming audio files ( like 2mb to 3mb in size).. Do I need to use

Overriding Node.js HTTP parser

扶醉桌前 提交于 2019-11-27 05:48:23
问题 I am using Node's basic http.request() function without problem on normal HTTP servers. I need to use http.request() (or similar) with SHOUTcast servers. The SHOUTcast "protocol" is fully compatible with HTTP, except for one detail... the first response line. Normal HTTP servers respond with: HTTP/1.1 200 OK SHOUTcast servers respond with: ICY 200 OK Again, the rest of the protocol is the same. The only difference is HTTP/1.x vs. ICY . I would like to extend, subclass, or somehow modify Node