icecast

404 - The file you requested could not be found

别来无恙 提交于 2019-12-06 13:33:59
My icecast2 server is running and I can see my admin. My config file is setup also with a normal mount set. My source client is liquidsoap, this is my code: #!/usr/bin/liquidsoap # Log dir set("log.file.path","/var/log/liquidsoap/basic-radio.log") jazz = playlist("/var/www/html/stream/audio/mp3/jazz") popular = playlist.safe("/var/www/html/stream/audio/mp3/popular-music") radio = fallback( [ switch( [ ({ 0h-12h }, jazz), ({ 12h01-23h59 }, popular), ]), jazz]) #radio = random(weights=[1,5],[ jazz, radio ]) # Stream it out output.icecast(%mp3, host = "18.221.199.44", port = 8000, , mount = "ssp

creating multiple audio streams of an icecast2 server using python-shout

青春壹個敷衍的年華 提交于 2019-12-06 05:31:44
问题 I am trying to create a web radio server to stream 3 sources at once. I am using python to create a source client for icecast2 using the python-shout library. I am not too familiar with the language (python). however, i got a sample program which does what i need to and more and i have tweaked it for my need. However, I can only create two streams, and after that, i get the error message shown below. I don't know what i'm doing wrong so i hope you guys can help me figure that out. hostname =

How do I extract streamed “now playing” data embedded in an Icecast audio (radio) stream on Samsung Smart-TV

霸气de小男生 提交于 2019-12-05 16:39:32
I am creating a Samsung TV app for a radio station and they provide the "Now Playing" info within the Icecast stream. Is it possible to (and how do I) extract this information? Shoutcast supports " Icy-MetaData " - an additional field in the request header. When set, its a request to the shoutcast server to embed metadata about the stream at periodic intervals(once every " icy-metaint " bytes) in the encoded audio stream itself. The value of " icy-metaint " is decided by the shoutcast server configuration and is sent to the client as part of the initial reply. Check out this post on Shoutcast

Python 3 get song name from internet radio stream

此生再无相见时 提交于 2019-12-05 06:14:45
问题 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? 回答1: To get the stream title, you need to request metadata. See shoutcast/icecast protocol description: #!/usr/bin/env python from

XMLHttpRequest and http streaming

泄露秘密 提交于 2019-12-05 01:40:25
问题 My goal is to read an HTTP MP3 audio stream from the browser and have access to the raw audio data . HTML5 < audio > lets me easily play the stream, but, as far as I know, does not grant access to the raw audio data. It just plays it. JS XMLHTTPRequest can download files through HTTP and process the raw audio data. It seems to be a good candidate, but it suffers from a limitation: it does not grant access to the binary data until the download is finished (readystate = 4). In my case, the

Play a Shoutcast Stream on iPhone with HTML5

自闭症网瘾萝莉.ら 提交于 2019-12-05 01:09:44
问题 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...

High audio latency with Icecast and Darkice

雨燕双飞 提交于 2019-12-04 11:21:01
问题 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

creating multiple audio streams of an icecast2 server using python-shout

守給你的承諾、 提交于 2019-12-04 10:26:27
I am trying to create a web radio server to stream 3 sources at once. I am using python to create a source client for icecast2 using the python-shout library. I am not too familiar with the language (python). however, i got a sample program which does what i need to and more and i have tweaked it for my need. However, I can only create two streams, and after that, i get the error message shown below. I don't know what i'm doing wrong so i hope you guys can help me figure that out. hostname ="localhost" port= 8000 password = "password" import shout import sys import threading from glob import

Why Icecast2 does not want to give the stream through https?

感情迁移 提交于 2019-12-04 09:41:13
问题 On a server with Ubuntu 14.04 LTS installed Icecast2 2.4.1 with SSL support. Also on this server work HTTPS website. I want insert on the page HTML5-player that will also take the stream through the SSL (otherwise - mixed content error). The site has a commercial SSL certificate, Icecast - a self-signed. Icecast config file: <icecast> <location>****</location> <admin>admin@*************</admin> <limits> <clients>1000</clients> <sources>2</sources> <threadpool>5</threadpool> <queue-size>524288

PHP: Icecast Now Playing Script is Not Working

依然范特西╮ 提交于 2019-12-04 02:11:43
问题 I am attempting to use the Icecast Now Playing PHP script from: https://code.google.com/p/icecast-now-playing-script/ I have uploaded all the files to my web server after modifying the config.php. When I load example.php in the browser, this is the information returned: Array ( [info] => Array ( [status] => OFF AIR ) ) I am not sure what the cause of the problem is. I have verified the Icecast server information is correct. Opening: http://70.35.120.203:8000/zedg_mb.mp3.m3u does start the