From: Romain B. <to...@ra...> - 2012-01-17 23:58:00
|
2012/1/17 Audiodef Online <on...@au...>: > Hi Jef, Hi all! > I think I will actually find that useful for my radio page! But what I > am really looking for is way to keep it all within a LS script and send > the data I've stored for a playlist item in my database to my streaming > server (Icecast). Thanks Jeff for your explanation! Damien, the only other way that I see to add this directly into your liquidsoap script is to write a map_metadata handler. Something on these lines: def map(m) = if m["title"] == "" then [("title", "foo bar")] else [] end s = map_metadata(map, s) However, I'd really recommend investigating a custom request.dynamic handler, which would allow much more flexibility in your script and solve many of the issues that you have raised in the list.. Romain |