所以使用 LiquidSoap 来驱动我的广播电台。我定义了 3 个播放列表和在它们之间切换的时间表:
pl1 = nrj(playlist("/var/www/html/radiojuno.com/playlists/pl1.m3u"))
pl2 = nrj(playlist("/var/www/html/radiojuno.com/playlists/pl2.m3u"))
pl3 = nrj(playlist("/var/www/html/radiojuno.com/playlists/pl3.m3u"))
radio = switch([ ({22h-7h}, pl1), ({7h-19h}, pl2), ({19h-22h}, pl3) ])
output.icecast(
%mp3,
host = "localhost",
port = 8000,
password = "xxxx",
mount = "mymount",
genre="Electronic",
description="**Current show description**",
url="http://example.com",
radio
)
我想根据当前的时间表修改流的描述。
但我无法弄清楚如何使用 LiquidSoap 实现这一点。我已经盯着https://www.liquidsoap.info/doc-1.4.2/metadata.html几个小时了!
任何人都可以帮忙吗?