【文件属性】:
文件名称:Icecast-Song-Info-php:从服务器状态页中检索有关歌曲的信息(PHP类)
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-13 01:31:37
PHP
Icecast-Song-Info-php
从服务器状态页中检索有关歌曲的信息(PHP类)
用法:
$icecast=new IcecastSongInfo();
1. FETCH PAGE:
$icecast->fetch('http://your-Icecast-server.com/status.xsl'[,'proxy.com:port']);
2. QUERY SELECT:
$icecast->select('search-string-in-ALL-mount-points'[,'needed-param-substring'[,'mount-point-name']]);
needed-param-substring(字符串或子字符串,不区分大小写):
流标题
流说明
内容类型
挂载开始
比特率
当前听众
高峰听众
流类型
流URL
当前歌曲
...
例子:
$
【文件预览】:
Icecast-Song-Info-php-master
----.gitignore(3KB)
----LICENSE(1KB)
----README.md(867B)
----IcecastSongInfo.class.php(1KB)
----.gitattributes(378B)