First test script fails to reproduce:
```
def my_crossfade(s) =
def f(_,_, old_m, new_m, old, new) =
if old_m["genre"] != "myradio" and new_m["genre"] != "myradio" then
add([fade.initial(new), fade.final(old)])
else
log("Old or new file is a jingle: sequenced transition.")
sequence([old,new])
end
end
smart_cross(f,s)
end
myradio = playlist(prefix="annotate:genre=\"myradio\":","~/music")
jingles = playlist(prefix="annotate:genre=\"jingles\":","~/music")
s = rotate([myradio,jingles])
s = my_crossfade(s)
output.ao(fallible=true,s)
```
Could you share more from your script? Thks!
--
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/652#issuecomment-437518066
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users