如何从互联网广播流中获取歌曲名称?
Python:从我在这里看到的URL获取shoutcast / internet广播电台的名称,但是只有广播电台的名称。但是,如何获得正在播放的歌曲的名称?这是我想要获取歌曲名称的流链接。http://pool.cdn.lagardere.cz/fm-evropa2-128
我该怎么办?你能帮我吗?
是否可以使用HTML5的AUDIO标签播放Icecast流?我正在使用的语法对于ShoutCast看起来很开心,但不是我很困惑的Icecast.此外,如果我浏览到Icecast流的某个URL,浏览器窗口会自动显示播放器(参见上一个示例).
工作ShoutCast的例子.
<audio src="http://107.182.233.214:8000/;listen.pls?sid=1" autoplay="true" muted="false" controls="true" volume="1.0"></audio>
Run Code Online (Sandbox Code Playgroud)
非工作Icecast示例.
<audio src="http://91.121.59.45:8016/;stream" autoplay="false" muted="false" controls="true" volume="1.0"></audio>
<audio src="http://91.121.59.45:8016/stream" autoplay="false" muted="false" controls="true" volume="1.0"></audio>
<audio src="http://91.121.59.45:8016" autoplay="false" muted="false" controls="true" volume="1.0"></audio>
Run Code Online (Sandbox Code Playgroud)
Icecast流URL,用于在浏览器中自动打开播放器.
http://91.121.59.45:8016/stream
Run Code Online (Sandbox Code Playgroud) 我没有linux系统的经验,我想帮我解决这个问题..现在我有以下工作..
cd ~
cd home
cd myusernmae
mkdir src
wget http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz
tar -zxvf icecast-2.3.2.tar.gz
cd icecast-2.3.2
./configure
Error so i type the followings
apt-get install libxslt1-dev
sudo apt-get install libogg-dev libvorbis-dev
./configure
make
make install
cp -R /home/username/icecast-2.3.2/web ~/icecast/
Run Code Online (Sandbox Code Playgroud)
现在当我用以下消息键入icecast shell响应时
Icecast 2.3.2
usage: icecast [-b -v] -c <file>
options:
-c <file> Specify configuration file
-v Display version info
-b Run icecast in the background
Run Code Online (Sandbox Code Playgroud)
我知道如何使用icecast进入windows(icecast配置文件),但我不知道在哪里找到它以及如何将其修改为linux(vi editor :()任何帮助都会对我有用
我已经尝试运行Icecast服务器一段时间了,但没有成功。
我已经使用Homebrew和安装了它MacPorts,但无法使其运行。
当我输入 时icecast -c ~/.icecast.xml,终端不会返回任何内容,并且它会无限期地保持这种状态,除非我[1]+ Stopped这样做。
我的配置文件是从本教程icecast.xml下载的,尽管我使用的是 OS X Mavericks (10.9)。
我没有更改其中的一行代码。我被困住了。
有任何想法吗?
<icecast>
<!-- location and admin are two arbitrary strings that are e.g. visible
on the server info page of the icecast web interface
(server_version.xsl). -->
<location>Earth</location>
<admin>admin@localhost</admin>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<!-- If enabled, this will provide a burst of data when a client
first connects, thereby significantly reducing …Run Code Online (Sandbox Code Playgroud) 我正在尝试拥有一组 Icecast 服务器,并且希望它能够“动态”扩展(以弹性豆谈话方式),但我找不到有关此问题的任何资源。
场景是:
可以随时创建/删除挂载点
主服务器将在“更强大”的 EC2 实例上运行
在AWS Elastic Beanstalk下有一个“中继”集群
配置 Elastic Beanstalk 以根据带宽指标拆除/关闭中继
问题:
有推荐的动态缩放方法吗?(假设我们在周末出现高峰,然后周一几乎没有用户)
是否有任何经济实惠的服务可以中继我的动态安装?(假设我们只有一台巨大的 EC2 机器,并将此服务作为我们的中继)
对于这样的开放式问题表示歉意,我目前无法非常准确,因为我仍然没有找到任何明确的方法来进一步解决这个问题。
我正在收听3FM流,但遗憾的是它没有在其aac/mp3/wma流中提供音乐名称/艺术家信息.
所以我想编写一个简单的python代理来向流添加元数据.元数据来自于从3FM网站获取JSON的定期搜寻器.
知道我可以从哪里开始吗?