On Tue, Mar 30, 2010 at 1:32 PM, Subflow.FREE <[email protected]> wrote:
>> Only 1 file shouldn't be a problem. What isn't "proper" in the
>> behavior? it doesn't reload at all? I bet it reloads fine but "too
>> late", so you get again the old file before hearing the change. If
>> so... I'm not sure if it can be enhanced or not.>
>
> It was reloaded one time but in the same time it was played, maybe that's
> the point ?
> My jingle playlist reload well every 4 hours but it's only short track (few
> second long), almost no chance reloading during play ?

The thing is that playlist reloading is only triggered when playing.
When picking a new file, we test if reloading should be done. This is
simple (doesn't require a polling task in a separate thread) and works
fine in most cases. In your case it creates a lag of one update. You
could force the reload using a task:
  blah = playlist(id="mood","foo.pls") # no need for a reload param here
  add_timeout(10800., { server.execute("mood.reload") ; 10800. })
With that scheme the reload occurs precisely every 10800 seconds.

>> You can also use the script provided in the distribution:
>> "scripts/ask-liquidsoap.pl 'labomix.push /bla/bla.mp3'" (you may not
>> need the inner simple quotes).
>>
> I don't find out this script in the distrib package (debian)

It might not be installed. This may be unfortunate, but on the other
hand it'd add extra dependencies (Perl Telnet module, or the ruby
equivalent). You can simply copy it from SVN (browse at
savonet.rastageeks.org/browser) or a tarball, it's in
liquidsoap/scripts.

Cheers,
-- 
David

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to