**Describe the bug**
smooth_add seems not working
**To Reproduce**
```
#!/usr/bin/liquidsoap
set("init.daemon.pidfile.path", "/var/run/liquidsoap/radio.liq.pid")
set("log.file.path", "/home/liquidsoap/log/liquidsoap.log")
set("log.level", 5)
set("server.telnet", true)
set("server.telnet.bind_addr", "0.0.0.0") # because of docker
set("server.timeout", -1.)
songs = audio_to_stereo(playlist(mode="normal", "~/content/music.m3u"))
jingles = audio_to_stereo(playlist("~/content/jingles"))
songs = skip_blank(songs)
songs = crossfade(songs)
radio = random(weights=[1, 5], [jingles, songs])
security = single("/mnt/music/fallback.flac")
s = fallback(track_sensitive=false, [radio, security])
def jingleover()
log("jingleover precalled")
s = smooth_add(normal=s, special=jingles)
log("jingleover postcalled")
end
def add_randomjingle_command(~command)
server.register(
usage="randomjingle",
description="Play random jingle over stream",
command,
fun(_) -> begin jingleover() "Done!" end
)
end
add_randomjingle_command(command="randomjingle")
output.dummy(s)
```
**Expected behavior**
I want to play random jingle over main stream from telnet with command
randomjingle
```
telnet localhost 1234
randomjingle
```
**Version details**
- OS: Ubuntu 18.04
- Version Liquidsoap/1.3.7 (Unix; OCaml 4.05.0)
**Install method**
>From source
when i run from telnet command randomjingle in logs appear
```
2019/05/08 19:28:48 [lang:3] jingleover precalled
2019/05/08 19:28:48 [lang:3] jingleover postcalled
```
But in audio stream there is no changes
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/768
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users