[Savonet-users] Fast fallback requests and race-conditions with multiple fallback sources

2020-02-25 Thread David Trattnig
ng fallbacks? In other words: decreasing the frequency of fallback requests being sent? Thank you very much, David ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users

Re: [Savonet-users] Best practice to schedule playlists

2020-02-13 Thread David Trattnig
explains why "seek in track" function requires my application to sleep for 10 seconds, before it works on a newly scheduled track at all. Best, david On Tue, 11 Feb 2020 at 21:39, Nicholas Vrtis wrote: > Two ideas I can think of. How about 2 queues (A & B), and then using a

[Savonet-users] Best practice to schedule playlists

2020-02-11 Thread David Trattnig
ushing them to an "equeue". How can I do this more elegantly? What are the correct Liquidsoap features to achieve this, like a "dynamic playlist" instead of an "equeue"? Thanks in advance, David ___ Savonet-users

Re: [Savonet-users] Clearing all files from an equeue to schedule a new playlist

2020-02-11 Thread David Trattnig
Basically I'm looking for *any* approach to start a track or playlist at a given time (seconds). Anybody here who can help me with this? Is there some better option to "seek" or jump to a specific time of a track? Thx David On Mon, 3 Feb 2020 at 17:08, David Trattnig wrote: &

[Savonet-users] Clearing all files from an equeue to schedule a new playlist

2020-02-03 Thread David Trattnig
ot;Done." end) Basically it works, but adds some overall timeout to the process i.e. the scheduling for the next playlist is delayed somewhat. What is the ideal approach for such scenario? Do newer LiquidSoap versions cover this with built-in functionality? Thanks, David __

Re: [Savonet-users] [savonet/liquidsoap] Creating a handler for liquidsoap fallback (#528)

2019-01-11 Thread David Cooper
@toots, while this an issue. I have a workaround that I'll post soon on this thread, so it's not urgent. :) thanks for looking, however! -- 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/i

Re: [Savonet-users] [savonet/liquidsoap] Creating a handler for liquidsoap fallback (#528)

2019-01-05 Thread David Cooper
Bump on this, a callback that has the new/old source without their names being chomped would be helpful. Currently, I'm using `source.is_active()` to infer this. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://githu

Re: [Savonet-users] [savonet/liquidsoap] Creating a handler for liquidsoap fallback (#528)

2018-11-06 Thread David Cooper
@toots I'm noting my fallback sources, for example arg `new` in a `transition` function as being called `replay_metadata_` unless I call `fallback()` with `replay_metadata=false`, which I don't want to do. To make matters worse, if I abruptly disconnect from a harbor the `old` arg has a valu

Re: [Savonet-users] Liquidsoap 1.2.0 is released!

2016-01-16 Thread David Baelde
this helps, David On Fri, Jan 15, 2016 at 6:25 PM, Andrew Hyslop wrote: > I have tried to install via opam... Everything looked great during install > (surprised as I have never used opam before hehehe)... But the command > liquidsoap is not recognized at the prompt... I usually use the u

Re: [Savonet-users] Liquidsoap for web teaching

2015-03-20 Thread David Baelde
Hi, I doubt that low latency technologies available in liquidsoap would be mature enough for teaching. The best is probably jack, though I don't know if many people use it these day and can testify that it's solid -- I wouldn't bet on it...

Re: [Savonet-users] devs, anybody?

2015-02-20 Thread David Baelde
s would be appreciated, but that won't be our primary concern for a while. Cheers, David On Fri, Feb 20, 2015 at 3:24 PM, unosonic wrote: > > hi there, > > curious & concerned: is anybody of the developers left here? > David, Romain, Samuel? Does your absence mean somet

Re: [Savonet-users] just a little check on a single code line: scheduling

2015-02-09 Thread David Baelde
Yes, it looks correct to me. Cheers, David On Wed, Feb 4, 2015 at 4:33 PM, Simone Dal Maso wrote: > Hello, > is it correct for Liquidsoap if I schedule a playlist on this manner? > *** > ({(2w and 21h01m) or (4w and 21h01m) or (6w and 16h01m) or (7w and > 16h01m)}, pla

Re: [Savonet-users] liquidsoap book

2014-11-26 Thread David Baelde
I also subscribed and I'm looking forward to see what it looks like. This is a very welcome effort! Tony Miller a écrit: > Thank you so much everyone for your feedback. I will be sending out a > free sample of the book to my mailing list soon, so subscribe if you > are interested in that. > > On

Re: [Savonet-users] configure: WARNING: caml/threads.h

2014-11-03 Thread David Baelde
Hi, Can you send your config.log so we can see what the error is? Thanks, David -- ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https

Re: [Savonet-users] Another strange harbor buffer plot

2014-10-27 Thread David Baelde
Hi,Depending on the DJ's source client, the computer's clock can have an impact too.Anyway, if this is a serious issue you might want to look at an operator that Samuel added not so long ago. Something like buffer.adaptative iirc.HTHdavidBrad Isbell a écrit:All sound cards run at slightly different

Re: [Savonet-users] "tee" for sources?

2014-10-10 Thread David Baelde
r we're using a mutable data structure for metadata and may have forgotten to copy in some places... Cheers, David On Thu, Oct 9, 2014 at 10:48 PM, Ken Restivo wrote: > After some hours of struggle, I discovered that the above was the only way to > decouple the two sources, was to drop_

Re: [Savonet-users] "tee" for sources?

2014-10-07 Thread David Baelde
Hi Ken, You're almost there with the first attempt. Your problem there is that you're redefining source1 on the first line and this new definition is used when you define source2 next. Hope this helps, David -

Re: [Savonet-users] More efficient short-circuit operators?

2014-10-06 Thread David Baelde
Hi, You have a builtin or but it is the boolean disjunction. The one you want here is not in the lib, but you can create it for yourself in your script, or in your own mini library: def or(a,b) = if a != "" then a else b end Have fun, David On Sat, Oct 4, 2014 at 2:03 AM, Ken Rest

Re: [Savonet-users] Video beginner questions

2014-09-09 Thread David Baelde
ems, but I cannot explain it without entering into the details of our (slightly flawed) streaming model. I'll give it a shot and have you test the new feature... I don't have much time these days but I'll do my best. Cheers, David [1] https://github.com/savonet/liquidsoap/blob/mast

Re: [Savonet-users] Video beginner questions

2014-08-28 Thread David Baelde
han 3s freeze remains freeze rather than reload the « safe > » video. How could I do that ? That's a good question, but we don't have an answer yet. It requires some hacking on the input.http() operator. I'm telling you

Re: [Savonet-users] liquidsoap on raspberrypi

2014-06-06 Thread David Baelde
Hi, I don't have any experience with raspberry-pi, but you problem indicates that your installation of liquidsoap is missing a dependency or plugin: the fixed point MP3 encoder. Have you installed liquidsoap-plugin-shine? HTH David On Fri, May 30, 2014 at 4:24 AM, Michael Haas wrote: &g

Re: [Savonet-users] input.harbor problem

2014-06-06 Thread David Baelde
, it won't compute anything while unused for streaming. Cheers, David On Sat, May 31, 2014 at 5:06 PM, Dimitris Papadimitriou wrote: > Hey David, > > So if i add a white noise generator as a "playlist", start it somehow > on_connect, and stop it via on_disconnect, I sup

Re: [Savonet-users] Executing command before playing

2014-05-31 Thread David Baelde
Hi, If taglib supports those tag formats, then liquidsoap should support them as well, or at least could support them easily. The first thing to do is check what liquidsoap sees when you run "liquidsoap -r ", then check the status of taglib support. Cheers, David On Tue, May 27, 20

Re: [Savonet-users] Understanding Harbour

2014-05-31 Thread David Baelde
Hi, I'm not sure I understand the point of the whole setup, but having all harbors on the same port is no problem, since you have mount point names to distinguish them. Hope this helps, David On Fri, May 30, 2014 at 5:10 PM, Dane Streeter wrote: > > Hello > > I'm hopin

Re: [Savonet-users] input.harbor problem

2014-05-31 Thread David Baelde
instead. Hope this helps, David On Wed, May 28, 2014 at 4:20 PM, Dimitris Papadimitriou wrote: > Hi, > > I've used liquidsoap with Airtime for my radio, which I ditched a long time > ago, and as I would like to do some custom stuff, I decided to use > liquidsoap with input.

Re: [Savonet-users] Problem(?) with type inference of active_source

2014-05-21 Thread David Baelde
Hi, I have just now pushed a small modification to allow type annotations for references and active sources. Here's an example of the syntax: # r = ((ref []) : ref([active_source])) ;; r : ref([active_source(audio=?A,video=?B,midi=?C)]) = ref([]) Hope this helps and sorry for the delay,

Re: [Savonet-users] Problem(?) with type inference of active_source

2014-05-18 Thread David Baelde
omain, Sam, don't hesitate to step in before that. Cheers, David On Sat, May 17, 2014 at 1:35 PM, okay_awright wrote: > Hello everyone, > > With the recent versions of Liquidsoap, strip_blank() now outputs an > active_source. The same scripts used to work before, but now they

Re: [Savonet-users] playlist history

2014-03-31 Thread David Baelde
Hi Muzo, You should be able to do this using store_metadata (makes the history available via server) or on_metadata (calls a hook on every new item). There's an example on http://savonet.sourceforge.net/doc-svn/dolebrai.html Hope this helps, David On Sat, Mar 29, 2014 at 1:27 AM,

Re: [Savonet-users] Cascading playlists (always play the newest file/playlist then go back to older shows?)

2014-03-31 Thread David Baelde
y putting e.g. a fake URL in it, iirc. The best solution is probably to not use playists. If you're generating the playlist from a script, it should be easy to push items to a queue instead. Unlike the playlist, the queue will only play once, and fail when it becomes empty. Hope this helps,

Re: [Savonet-users] Problems with drops when streaming to icecast

2014-03-31 Thread David Baelde
st hiding the problem, pushing it at the level of icecast's buffers. I hope I'm not proposing too many things to try :) Cheers, David PS: You could also try passing clock_safe=false to your ALSA I/O. It tells the operators to not use the ALSA clock, but the default wallclock inste

Re: [Savonet-users] Multiple .liq scripts in production

2014-03-31 Thread David Baelde
instances of liquidsoap). 2. Reloading is the way to go. You can setup a fallback in various ways to limit the impact of reloading. There's also a new "fast reload" command, on which Samuel might be able to comment. Cheers, David On Tue, Apr 1, 2014 at 12:03 AM, Hadi Katebi w

Re: [Savonet-users] Command to refresh LS playlist

2014-03-24 Thread David Baelde
proper shutdown, etc. I don't know the details of how to use it, though. Cheers, David -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph

Re: [Savonet-users] Command to refresh LS playlist

2014-03-23 Thread David Baelde
rge.net/doc-svn/server.html Otherwise, just try and type ".reload" in the server, that's all there is to it. You should notice a reload after that, and probably see it in the logs too. Cheers, David On Sat, Mar 22, 2014 at 6:06 PM, Leonardo Almeida wrote: > Have any URL d

Re: [Savonet-users] Command to refresh LS playlist

2014-03-22 Thread David Baelde
The playlist source has a "reload" command (usable through the server, e.g. telnet) for reloading its playlist. Hope this helps, David On Fri, Mar 21, 2014 at 5:51 PM, Leonardo Almeida wrote: > > Have any command to refresh LS playlist without have to restart it (and d

Re: [Savonet-users] Shell variable in Liquidsoap

2014-03-21 Thread David Baelde
The script language has the argv() function which is just what you're looking for. Command-line arguments that are to be passed to the script should come after "--", e.g. "liquidsoap test.liq -- 8000". HTH David On Mon, Mar 17, 2014 at 9:35 PM, wit...@ravir.pl

Re: [Savonet-users] Dynamic Playlists on Windows

2014-03-21 Thread David Baelde
face) to update your playlists based on the time. HTH David On Mon, Mar 17, 2014 at 5:38 PM, William Hetherington wrote: > I opened the following issue over at github: > https://github.com/savonet/liquidsoap/issues/158 > > I thought I'd ask the same question on the maili

Re: [Savonet-users] Cannot compile camlimages-4.1.1

2014-02-13 Thread David Baelde
compile). Good luck, David On Fri, Feb 14, 2014 at 4:00 AM, Damien Moody wrote: > Upgrading ocaml did not make a difference. > > I have masked the latest camlimages on all my machines that use it, as > well as in my stage4 tarball on gentoostudio.org, because camlimages > univ

Re: [Savonet-users] Cannot compile camlimages-4.1.1

2014-02-13 Thread David Baelde
Or maybe revert to an older version of camlimages? It certainly used to be compatible with OCaml < 4.0. Cheers, David On Tue, Feb 11, 2014 at 9:36 PM, Samuel Mimram wrote: > Hi, > > Yes it is relevant: this is the same error and apparently you need > OCaml version 4.0 (at least)

Re: [Savonet-users] Savonet-users Digest, Vol 89, Issue 5

2014-02-11 Thread David Baelde
heers, David On Mon, Feb 10, 2014 at 11:22 AM, Pranas Gudaitis wrote: > Hi David! > > It just crashes with segfault and it's due to nothing to encode for shine: > > > [New Thread 0xb1fc2460 (LWP 19205)] > > Program received signal SIGSEGV, Segmentation fault. > [Swit

Re: [Savonet-users] caml/trheads.h not usable

2014-02-11 Thread David Baelde
Hi, You can just send us the fixed configure, or run "diff ". Cheers, David On Tue, Feb 11, 2014 at 9:45 PM, Leonard de Ruijter wrote: > I use the official 1.1.1 full tarball. What's the best way to generate a > diff? > > Regards, > Leonard > > On 2

Re: [Savonet-users] caml/trheads.h not usable

2014-02-11 Thread David Baelde
Yes, this is strange. Where did you get the original configure, one of our tarballs? A diff with the configure generated by bootstrap might be useful. Cheers, David On Tue, Feb 11, 2014 at 12:52 PM, Leonard de Ruijter wrote: > An update: > It seems that the warning disappears and ever

Re: [Savonet-users] Fallback

2014-02-10 Thread David Baelde
ld do with any other sources that fails to stream. Cheers, David On Fri, Feb 7, 2014 at 3:25 PM, Leonard de Ruijter wrote: > Does a fallback to blank take place when you assign mksafe(source2) to > your output? > > On 2/7/2014 3:22 PM, JD Buys wrote: >> The get_source_by_orde

Re: [Savonet-users] Broken pipe

2014-02-10 Thread David Baelde
95abba0:20140128:085435). It would be nice if you could minimize your issue to nail what's causing it, and possibly give us something to reproduce. Cheers, David On Mon, Jan 20, 2014 at 1:57 PM, JD Buys wrote: > Hi, > > I am running liquidsoap with --debug and inserting metadat

Re: [Savonet-users] current git source results in disfunctional liquidsoap on raspbian

2014-02-10 Thread David Baelde
what does not work for you. Perhaps the above proposed fix is relevant. Cheers, David On Thu, Jan 30, 2014 at 6:55 PM, Pranas Gudaitis wrote: > hi peeps! > > just checking if it's just me or for real the current git source is still > unusable for working build? > i've git

Re: [Savonet-users] liquidsoap crashed: too many open files

2014-02-10 Thread David Baelde
feature, see if the bug still shows up -- if the number of pipes has doubled after 30mn, it's still there. It would be really helpful if you could try to simplify your script as much as possible to obtain a minimal script with which we can reproduce the issue. Thanks,

Re: [Savonet-users] liquidsoap crashed: too many open files

2014-01-30 Thread David Baelde
Hi guys, Just a thought for Romain: how about pipes used as locks inside duppy? Could there be a feature here that makes specific use of them? Cheers, David On Thu, Jan 30, 2014 at 5:26 PM, Romain Beauxis wrote: > Hi all, > > I think the open pipes point to the problem. Beside

Re: [Savonet-users] Segfault

2014-01-30 Thread David Baelde
l_start_program () > #7 0x19c013e0 in ?? () > #8 0x in ?? () > > Thread 1 (Thread 0x2acbb606b940 (LWP 30534)): > #0 0x008d3a5b in caml_c_call () > #1 0x0000 i

Re: [Savonet-users] liquidsoap crashed: too many open files

2014-01-30 Thread David Baelde
ocess communication, and that does not close them properly. That being said, 372 temporary files is still a lot, but that must be a different problem... do you kill -9 liquidsoap instances, by any chance? Cheers, David On Wed, Jan 29, 2014 at 12:46 PM, Alexander wrote: > Hello! > I've also

Re: [Savonet-users] liquidsoap crashed: too many open files

2014-01-28 Thread David Baelde
far or only some. * Just to be sure, can you reproduce the issue without cue_cut? Thanks, David -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visu

Re: [Savonet-users] Harbor.input issue in build from git

2014-01-28 Thread David Baelde
Hi, Looking at the code which caused the assertion failure, I thought it should be cleanup up a bit: https://github.com/savonet/liquidsoap/pull/152 (Next time I need to remember not to open an issue in addition to the pull request.) Cheers, David

Re: [Savonet-users] Encoder info

2014-01-27 Thread David Baelde
coder, but that is not well defined, as there might be several streams running with various encoders. At the time when you setup an output with a given encoder, you could log what it is though. Hope this helps, David On Wed, Jan 22, 2014 at 12:32 PM, JD Buys wrote: > Hi, > > How can I

Re: [Savonet-users] liquidsoap crashed: too many open files

2014-01-27 Thread David Baelde
Hi Alexander, Could you please describe a little bit how you use dynamic requests? At least, I need to know what parameters (queue, etc.) you are using but the kind of protocol involved is probably useful too. Cheers, David On Fri, Jan 24, 2014 at 10:26 AM, Alexander wrote: > Issue st

Re: [Savonet-users] Error

2014-01-18 Thread David Baelde
Hi, Just to let you know, I started reviewing the code in external_decoder.ml. I'm gonna make it fail more gracefully when something goes wrong (as is the case here) with the external process. Cheers, David On Thu, Jan 16, 2014 at 2:00 PM, JD Buys wrote: > Sorry for the late re

Re: [Savonet-users] liquidsoap reload watch

2013-12-31 Thread David Baelde
ee in the logs "Loading playlist" followed by "Successfully loaded a playlist of 48 tracks" soon after. 6. At the end of the song, a new song from the edited playlist played. Hope this helps, David On Tue, Dec 24, 2013 at 2:39 PM, gwado wrote: > David Baelde writes: > &g

Re: [Savonet-users] Queue issue

2013-12-31 Thread David Baelde
you'll get a proper stack overflow exception with a backtrace telling what caused it. Thanks, David On Thu, Dec 19, 2013 at 9:29 AM, JD Buys wrote: > Hi Samuel, > > I ran LS with the latest source build and still experience segfault issues, > and then read the OCaml installa

Re: [Savonet-users] Burst

2013-12-31 Thread David Baelde
That's possible in theory (at least with the wallclock, which we fully control) but there's no implemented feature for users to do this. Why would you want to do that, and how would you like to be able to do it? Cheers, David On Thu, Dec 19, 2013 at 2:42 PM, JD Buys wrote: >

Re: [Savonet-users] no reconnect on second source after network failure

2013-12-11 Thread David Baelde
Hi Peter, This kind of problem does not ring a bell... Just to clarify, your script is essentially only a fallback([input.http(...),input.http(...),single(...)])? Sharing your script and a log file of when the problem happens could help. Cheers, DAvid On Wed, Dec 11, 2013 at 8:18 PM, Peter

Re: [Savonet-users] Changing active mounts

2013-12-01 Thread David Baelde
Hi Michael, This is definitely possible. In fact, similar things have been discussed on this list, a little googling should give you some leads. Also one of our tutorials covers something similar: http://savonet.sourceforge.net/doc-svn/on2_part2.html Cheers, David On Thu, Oct 31, 2013 at 1:51

Re: [Savonet-users] Transcoding Mono wma to mono Icecast MP3

2013-12-01 Thread David Baelde
Hi guys, I'm wondering, technically, is there a way for the mplayer input to enforce that its input stream matches its type, so as to avoid such problems? Cheers, David On Sat, Nov 2, 2013 at 8:10 PM, Eduardo Martinez wrote: > Samuel, > > This worked perfectly. Thank you ver

Re: [Savonet-users] Dynamic file loop

2013-11-30 Thread David Baelde
understand what you mean about files being "locked" on your computer. Also, why can't you synthesize once and then play the generated static file? I mean, it's always the same message, right? HTH David On Tue, Nov 26, 2013 at 8:16 PM, Leonard de Ruijter wrote: > Hello, &g

Re: [Savonet-users] Segfault streaming

2013-11-30 Thread David Baelde
Hi, In case of a segfault, the core dump is useful. Just inspect it with gdb following the guidelines here https://wiki.sourcefabric.org/display/LS/Debugging to make sure you inspect all threads. Then send us what gdb says. Usually that's all we would get from the core dump. Cheers, Davi

Re: [Savonet-users] Soft restart of script?

2013-11-30 Thread David Baelde
Hi James, For your first question you could use on_end() to call for a restart if needed. For the second one, I did not investigate the options right now, so I cannot help. Cheers, David On Tue, Nov 19, 2013 at 2:58 PM, Daniel James wrote: > Hi all, > > Regarding https://github.co

Re: [Savonet-users] liquidsoap reload watch

2013-11-30 Thread David Baelde
I believe this issue should be discussed on the mailing list. There you'll get advice from other people who probably do similar things to you, but without a playlist. If not, we can ask several users what they think of removing the limitation on reloading empty playlists: I'm reluctant to remove it

Re: [Savonet-users] interpolate string in output.file filename

2013-11-20 Thread David Baelde
rbis, reopen_on_metadata=true, fallible=true, "/data/archives/brutes/" ^ title ^ ".ogg", live) Cheers, David On Wed, Nov 20, 2013 at 2:49 PM, Tony Miller wrote: > Hi, > > I'm trying to interpolate a ref "" in the fi

Re: [Savonet-users] on_shutdown on errors

2013-11-20 Thread David Baelde
Hi, Yes it will run on_shutdown functions when it shuts down because of an error... unless of course the error kills liquidsoap instantly, for example if it is a segfault. But most errors are exceptions which trigger a log message and clean shutdown. Cheers, David On Wed, Nov 20, 2013 at 6:56

Re: [Savonet-users] liquidsoap reload watch

2013-11-20 Thread David Baelde
dummy request in it (e.g. "nothing:"). Hope this helps, David [1] https://github.com/savonet/liquidsoap/blob/master/src/sources/playlist.ml#L232 -- Shape the Mobile Experience: Free Subscription Softwar

Re: [Savonet-users] Number of assigned clocks keeps growing

2013-11-17 Thread David Baelde
explicitly shutdown a strip_blank: if you can attach the strip_blank to the clock of an operator such as a (useless) cue_cut, it may die automatically with that operator. Cheers, David On Sun, Nov 17, 2013 at 1:05 AM, okay_awright wrote: > Big thanks! > > On 16/11/2013 23:19, David

Re: [Savonet-users] Number of assigned clocks keeps growing

2013-11-16 Thread David Baelde
This shouldn't be a big problem as the extra sources will cost no CPU at all and close to no memory either. Thanks, David -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, User

Re: [Savonet-users] Contact for project

2013-11-13 Thread David Baelde
say that you have an outdated version of OCaml or an incomplete installation of OCaml, missing some headers. On my system here is the relevant file: baelde@noko ~ $ grep caml_c_thread /usr/include/caml/*h /usr/include/caml/threads.h:CAMLextern int caml_c_thread_register(void);

Re: [Savonet-users] How not to shut down Liquidsoap when output stops

2013-11-13 Thread David Baelde
't hesitate to create an issue, though, it's an interesting thing to consider at some point!) Cheers, David On Mon, Nov 4, 2013 at 12:38 AM, okay_awright wrote: > Hello, > > apparently all intermediate "source transformation" functions are shut > down with a

Re: [Savonet-users] Number of assigned clocks keeps growing

2013-11-13 Thread David Baelde
they can be garbage collected. Good luck minimizing the issue! David -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API A

Re: [Savonet-users] Number of assigned clocks keeps growing

2013-11-12 Thread David Baelde
using more than icecast, otherwise only the default wallclock would be involved. Perhaps crossing operators? Cheers, David On Mon, Nov 4, 2013 at 1:58 AM, okay_awright wrote: > Hello, > I have a problem related to the number of clocks that keeps growing and > never decreases or remain

Re: [Savonet-users] list.remove and functions in lists

2013-11-10 Thread David Baelde
FYI, I have created an entry on github for this issue: https://github.com/savonet/liquidsoap/issues/124 -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming mod

Re: [Savonet-users] Simple things should be simple

2013-11-10 Thread David Baelde
t should be a subtype of (the type of the value at line 1, char 34-35) active_source(_) # fun()->fallback([(input.pulseaudio():source),sine()]);; - : ()->source(audio=?#A+1,video=0,midi=0) = Cheers, David On Sat, Nov 9, 2013 at 1:02 PM, Roland Schwarz wrote: > Dear All! > > Rece

Re: [Savonet-users] hello

2013-11-10 Thread David Baelde
eclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > ___ > Savonet-users mailing list > Savonet-users@lists.sourceforge.net > https://lists.sourceforge.net/l

Re: [Savonet-users] Encode once, stream twice?

2013-10-31 Thread David Baelde
27;t see a similar solution. Cheers, David On Thu, Oct 31, 2013 at 11:22 AM, Shaun Dewberry wrote: > Hi > > I might be waaay off - haven't worked on my liquidsoap stuff in quite some > time, but I was thinking something along the lines of this: > > server1_sour

Re: [Savonet-users] Encode once, stream twice?

2013-10-31 Thread David Baelde
Hi Shaun, I'm not sure I understand your suggestion. Liquidsoap can send raw PCM data to harbor, or jack but not to icecast as far as I know. What do you have in mind? David On Thu, Oct 31, 2013 at 9:02 AM, Shaun Dewberry wrote: > Hi, > > For scenario B: > What about ha

Re: [Savonet-users] Encode once, stream twice?

2013-10-30 Thread David Baelde
Ok, I'm happy to focus on other things for now, then. Thanks for sharing your expertise! David On Wed, Oct 30, 2013 at 1:57 PM, Matt Camp wrote: > On 30 Oct 2013, at 09:42, David Baelde wrote: > >> Hi Matt, >> >> A long time ago, Liquidsoap could do what you

Re: [Savonet-users] Encode once, stream twice?

2013-10-30 Thread David Baelde
trates, etc. are the same for several outputs, you still have multiple (redundant) encoding of the data. Cheers, David -- Android is increasing in popularity, but the open development platform that developers love i

Re: [Savonet-users] Encode once, stream twice?

2013-10-30 Thread David Baelde
7;d rather keep liquidsoap nice and simple than target every possible application. I'd be happy to keep this discussion going. Tell us why you (and the world) really need mutualized encoding :p Cheers, David PS: Since airtime builds on liquidsoap, I don't see how it could not have the s

Re: [Savonet-users] smooth_add broken again in git?

2013-10-27 Thread David Baelde
Hi Thomas, Thanks for the fast feedback! I'll document the fix and merge it asap. Cheers, David On Sat, Oct 26, 2013 at 9:24 PM, "T. Bühlmann" wrote: > Hi David > > Am 26.10.2013 00:43, schrieb David Baelde: >> FYI I have a proposed fix in branch LS-115

Re: [Savonet-users] monitor level output / telnet

2013-10-26 Thread David Baelde
--- > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register

Re: [Savonet-users] monitor level output / telnet

2013-10-26 Thread David Baelde
hould be the max positive integer on OCaml, where the type int is signed and represented on 31 bits. What's your arch and version of OCaml? Cheers, David On Fri, Oct 25, 2013 at 8:58 PM, Peter Retep wrote: > Hi, > > I finally found some time to check the new separate channel DB o

Re: [Savonet-users] smooth_add broken again in git?

2013-10-25 Thread David Baelde
this time. The issue has been around since september 2012! On Fri, Oct 25, 2013 at 3:38 PM, David Baelde wrote: > Thanks for the report Thomas! > > I'm ashamed that we still/again have a problem with smooth_add. I have > reproduced against the very latest version, and files an issu

Re: [Savonet-users] smooth_add broken again in git?

2013-10-25 Thread David Baelde
Thanks for the report Thomas! I'm ashamed that we still/again have a problem with smooth_add. I have reproduced against the very latest version, and files an issue on which I plan to work right now: https://github.com/savonet/liquidsoap/issues/115 Cheers, David On Tue, Oct 22, 2013 at

Re: [Savonet-users] Conservative on request.queue

2013-10-20 Thread David Baelde
your needs, though? Regarding tricking the request system, I'm not sure what you mean. Cheers, David On Thu, Oct 17, 2013 at 7:05 PM, Chris Everest wrote: > On Sat, Oct 5, 2013 at 4:57 AM, David Baelde wrote: >> >> Hi guys, >> >> Requests associated to local files a

Re: [Savonet-users] playlis.once - first track playing twice!

2013-10-08 Thread David Baelde
he same version of liquidsoap. The log you attached is for the script twice.liq. I tried this one again too, and confirm that I can hear the fading sine caused b the transition. Cheers, David On Tue, Oct 8, 2013 at 2:30 PM, Сергей Иванов wrote: > Hello, David! > Thank You for fast reply!

Re: [Savonet-users] playlis.once - first track playing twice!

2013-10-05 Thread David Baelde
hear it (and see it) clearly. Do these two scripts work for you? Hope this helps, David PS: We would also be interested if you could reproduce the error visible in your logs, with the exception raised from taglib. twice.liq Description: Binary data twice_simpl.liq Description: Binary

Re: [Savonet-users] Conservative on request.queue

2013-10-05 Thread David Baelde
ts will be considered has having duration "default_duration", so if you set length to be N*default_duration you should get N requests resolved in advance. Hope this helps, David On Fri, Oct 4, 2013 at 1:24 AM, Romain Beauxis wrote: > 2013/10/1 Chris Everest >> >> On Tue, Oct

Re: [Savonet-users] Time remaining problem

2013-10-05 Thread David Baelde
_? In other words, tracks are merged together. This could be the result of an abusive transition, or perhaps a known bug with crossfading in the latest release (https://github.com/savonet/liquidsoap/issues/98)? Hope this he

Re: [Savonet-users] Using exe_ext on Debian/Ubuntu

2013-10-05 Thread David Baelde
, and in which releases it is included. Anyway, your solution is safe for Ubuntu, and I don't foresee any unwanted side-effect. Cheers, David On Fri, Oct 4, 2013 at 6:07 PM, Daniel James wrote: > Hi all, > > Trying to improve our Liquidsoap binary packages for Debian/Ubunt

Re: [Savonet-users] how to get 6 track in one request

2013-09-08 Thread David Baelde
fixed it today, make sure you don't have a broken version: https://github.com/savonet/liquidsoap/commit/3f272c65a957024314e75873afa32b27f15e7b08 Hope this helps, David On Sat, Sep 7, 2013 at 1:00 PM, kino admin wrote: > i use request.dynamic and python script, python script output 1 tr

Re: [Savonet-users] Trying to display album name in Icecast

2013-07-21 Thread David Baelde
reference page, and liquidsoap -h . If needed you can also find examples by searching the cookbook and mailing list using these keywords. Hope this helps, David On Sat, Jul 20, 2013 at 1:55 PM, Yoann Ferret wrote: > Hi all, > > I'm using Liquidsoap for a few months now and I have to s

Re: [Savonet-users] 2 different Sources on Left and Right Channel Output?

2013-07-17 Thread David Baelde
gle(argv(2))' -- Cheers, David -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in

Re: [Savonet-users] input.http transition problem

2013-07-02 Thread David Baelde
it's not caused by a permanent disconnection but rather but a network lag causing the internal buffer to empty. Disconnections would be logged, but the buffer underrun is only logged at level 4 (debug). Hope this helps, David On Wed, Jul 3, 2013 at 1:12 AM, Daniele wrote: > hi all, i hav

Re: [Savonet-users] Liquidsoap - http ... Buffer overrun: Dropping 0.03s.

2013-06-21 Thread David Baelde
few times on the ML). That way, they will compute in different threads, and the C part of the computation (that is, encoding) can be parallelized. Hope this helps, -- David -- This SF.net email is sponsored by Windows: Buil

Re: [Savonet-users] Assertion failed, liquidsoap dies

2013-06-21 Thread David Baelde
cient version, the best action to take is upgrade and see if the problem is solved. I can't spot your problematic assertion in the current code, so it must have undergone some significant changes since then. Cheers, David On Thu, Jun 20, 2013 at 11:11 PM, Ken Restivo wrote: > I&#

Re: [Savonet-users] Ocaml to convert playlist items to a hash or dynamically access entries?

2013-06-21 Thread David Baelde
list.append([sine(220.,duration=0.5)], list.append(list.map(single,l), [fail()]))) end output.pulseaudio(fallible=true,prepend(show,intro)) I hope it can be a useful starting point for you. Let me know if this kind of solution fits y

Re: [Savonet-users] request.queue & smart_cross issues

2013-06-20 Thread David Baelde
between the two versions, that would be really useful to share. Thanks, David On Thu, Jun 20, 2013 at 5:40 PM, Alexander Groleau wrote: > With or without references on radio causes the issue. I had it as a > reference as the full version of my script dynamically creates the output > sour

Re: [Savonet-users] request.queue & smart_cross issues

2013-06-20 Thread David Baelde
ed up anymore, so any change of the contents of the reference would be useless -- I don't see any such instantiation in your code, so there's no real problem so far. Hope this helps, David On Thu, Jun 20, 2013 at 2:57 AM, Alexander Groleau wrote: > Forgot to mention that this is 1.

  1   2   3   4   5   6   7   8   9   10   >