On 19-10-2009 at 17:11, David Baelde wrote:
>How about you setup your own little protocol that copies a
file in a
>secure (temporary) place before playing. (Look into the add_protocol
>function, and perhaps at the cookbook.html and concepts.html
in the
>doc, and ask for help here if you need.) In your case, this custom
>solution is much better than a builtin tolerance at all
costs, because
>a file will never be cut in the middle of its playing, which
is nicer
>for the listener.
Hi David,
I definitely agree with your thougths. add_protocol is very
interesting. I will look into using it for this workflow:
- liquidsoap triggers the reload of the playlist (via the telnet command
or the configuration timeout)
- an external shell script is invoked that makes hard links of all
available files to a different directory;
- the list of files is returned to liquidsoap.
Making hard links instead of copying files will work better
since I have many GBs of tracks.
On 19-10-2009 at 18:06, Romain Beauxis wrote:
>As a complement to David's detailed answer, you should also avoid
>using playlist.safe if you know the files in the playlist may change.
Thanks Romain, infact in the mean time I switched from
playlist.safe to playlist combined with a fallback to a blank() source.
Your quick and kind help is much appreciated. Liquidsoap is a
great piece of software.
Cheers,
- alessandro.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users