Kosnickx was asking what happens if files are deleted from a playlist.

With a normal playlist(), you can delete most files and liquidsoap
won't complain: they are not checked in advance, so nothing is
expected. All that will happen is that liquidsoap will pick an URI
(filename) and try to "resolve" it, and fail, and go to the next one
-- the worst that happens is that you waste a tenth of a second maybe.
If you remove the file that is currently being played, it shouldn't
even be a problem under linux because the file will be kept existing
as long as liquidsoap has it open. The only bad situation is if you
remove a file after that liquidsoap has "resolved" (checked) it, but
before it has opened it for playing: but even this doesn't cause a
crash, only a warning in the logs.

With playlist.safe() liquidsoap checks in advance that all URI are
valid local files, so you can probably crash liquidsoap if you betray
him by deleting such files.

------------------------------------------------------------------------------
Download Intel® 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