【发布时间】:2021-11-23 17:18:20
【问题描述】:
我正在使用 Icecast 开发网络广播。想法是您单击歌曲,然后获取信息(通过 mysql - 比元数据更多的信息)。
到目前为止,我找不到“查看”即将到来的列表的方法,所以我正在考虑通过 MySQL “手动”完成。
A. I will create a list in the SQL with all info I need with a uuid
for each song, then I will add the uuid to the mp3 metada.
B. I will create a playlist with the exact order of the SQL and will
upload it to icecast.
C. I will display the song in the html and while playing I can grab
the uuid and mark it as “playing now”.
目前我能想到的唯一问题是我无法随机播放播放列表,但这对我的项目来说是次要的。
为了避免上述所有情况,有没有办法使用 Icecast 在我的播放列表中“查看”即将播放的歌曲(例如,接下来的 10 首歌曲)?
【问题讨论】:
-
您好,欢迎来到 Stack Overflow!我建议阅读 What to ask 和 How to ask 并可能在之后编辑问题,否则问题可能已关闭或删除。
-
不,Icecast 不知道“未来”。它只知道在那个特定时间点发生了什么。您所要求的需要在“源客户端”端完成,这绝对可以。大量支持 Web 界面或 API 的播放器/源客户端。
-
谢谢 TBR,您能否推荐一两个“启用 API 的播放器/源客户端”,以便我知道我在寻找什么?