Am 09.06.2013 18:12, schrieb Romain Beauxis: > 2013/5/31 Thomas Bühlmann <[email protected]>: >> Hello List! > hi! Hi Romain! >> I'm fighting with a problem: >> I have a fixed name dfile. It's regulary replaced by an external script. >> What is the recommendet way to implement this? >> Can i use single() or is playlist() better? >> >> I think of the following: >> >> clock=single(....) >> radio=playlist(..) >> .... >> radio = >> smooth_add(delay=0.5,p=0.3,normal=radio,special=switch([({30m00s},clock)])) >> >> Strangely this works for the first time. After this i simply get a short >> duck of the normal source, but no playout of clock. >> This makes me think that single() may not be appropriate for this use. >> Am i right? What is the recommended way? > One thing that might fail here is that, upon starting up, if > liquidsoap sees a single() source, it will try to find out if its file > is a local file. If that is the case, it will make the assumption that > it is a static file, open it and never re-open it (I think). So, if > you change the file later, it will fail. > > What you can do to remedy this is to trick liquidsoap into resolving > the file each time it plays it, through a dummy annotate protocol like > this: > > s = single("annotate:foo=\"bla\":/path/to/file/mp3") > > Hope this helps, > Romain You're great..! :) I've tested for about 12 hours now, and it seems to work. I've searched for weeks for a solution.
Thanks very much! > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
