Sorry for my bad english. I have a script and it work the first seconds.
Later, it does nothing more. What I want is read the file as metatag and
metatags need be refresh, but It don't work. What do I wrong ? The Script : #!/usr/share/liquidsoap//bin/liquidsoap %include "/usr/share/liquidsoap/libs/utils.liq"
set("log.file.path","/tmp/stream.log")
set("frame.audio.size", 2048)
# Input to Processing
input = input.pulseaudio(clock_safe=false)
# Processing
radio = pipe(process='/usr/bin/stereo_tool_cmd_64 - - -s
/opt/optimod8100.sts -q -k
"<3f1......................................................ee>"', input)


# Metatags from file
def content(data) =
[("title",list.hd(default="", get_process_lines("cat
/home/lrt/draaitnu.txt")))]
end
radio = map_metadata(content, radio)
# Processing to Output
output.icecast(
%mp3(bitrate = 192),
host = "server-67.stream-xxxxx.nl",
user = "source",
port = 6xxx0,
password = "xxxxx",
mount = "/",
genre = "Prog Rock",
name = "Progressieve Rock",
url = "https://progressieverock.nl";,
description = "Progressieve Rock",
mksafe(radio)
)
output.file(%mp3(bitrate=192),"/home/lrt/opname/opname-%H.mp3",
reopen_when={0m0s},mksafe(radio))
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to