[Savonet-users] Playing only one (random) file from a playlist

2009-06-25 Thread polemon
Hello. Is it possible to play only one random track from a playlist on request, or at a certain given time? those are my playlists: jingles = mksafe(playlist( reload_mode = "seconds", reload = 60, "~/jingles.lst" )) pl = mksafe(playlist( reload_mode = "seconds", relo

Re: [Savonet-users] input jack on_blank output

2009-06-25 Thread noserver
Hi, yep ok, it's more clear right now, thanks. I' think I'm really near to solve this. With the code below, transition_stop works perfectly when blank is detected but not transition_start, after a noise detection. FYI when I start the liq with noise higher than -50, the output.icecast doesn't st

Re: [Savonet-users] input jack on_blank output

2009-06-25 Thread David Baelde
Hi, On Thu, Jun 25, 2009 at 6:32 PM, wrote: > Thanks for this feature, do you think it's better (or easier) than the > solution below ? The two solutions have the same cost. It's probably simpler to use on_blank() rather than the source transitions, but it's entirely up to you. >> def transitio

Re: [Savonet-users] input jack on_blank output

2009-06-25 Thread noserver
Hi again David, >> If it's only a question of name, on_detect is a nice one : ) > > Sorry for the long silence on that issue, I should have done it before. > I chose on_noise and the patch is ready. I cannot commit right now (failure > on sourceforge's side) but will do it ASAP. Thanks for this f

Re: [Savonet-users] Prepend question

2009-06-25 Thread Hal Mecke
Hello/Salut, First of all, greetings to the list from a long-time lurker :-) I haven't tried running this exact example yet, but like David I have noticed some odd behavior with prepend(). Are you using a pre-built package, or did you build from svn or one of the tarballs? Also, do any of the l

Re: [Savonet-users] Prepend question

2009-06-25 Thread David Baelde
Just a quick word to say that I got your mail, and tried to run some examples to understand your problem. Two remarks: - on the simple examples that I did, it felt like prepend() was a bit broken... - the code that you copied in your mail is supposed to run fine; what exactly does it do for you?

Re: [Savonet-users] input jack on_blank output

2009-06-25 Thread David Baelde
Hi, noser...@no-log.org wrote: > If it's only a question of name, on_detect is a nice one : ) Sorry for the long silence on that issue, I should have done it before. I chose on_noise and the patch is ready. I cannot commit right now (failure on sourceforge's side) but will do it ASAP. Note that