<div class="gmail_quote">2009/6/25 Jan Weil <span dir="ltr"><<a href="mailto:jan.weil@web.de">jan.weil@web.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Jun 25, 2009 at 05:47:23PM +0200, Stefano D'Angelo wrote:<br>
> In case of multiple occourrences, myabe it's better to check for stat()'s<br>
> st_mtime to decide which one to load? However, I don't see any of such<br>
> mechanisms officially specified anywhere (apart from the "If present, this<br>
> should contain a colon-separated path indicating directories that should be<br>
> searched  (in order) when loading plugin types." in ladspa.h, which really<br>
> means nothing)...<br>
<br>
</div>In my opinion, the host should not try to decide anything in this case.<br>
Don't try to be clever. Just present all of the available versions to<br>
the user and let him/her choose. Most of the time you don't want<br>
multiple versions of your plugins on your system and, what is more, you<br>
might even not be aware that there is a conflict. Of course, this is not<br>
the way PATH-like variables are usually used, but even in the case of<br>
PATH we know similar problems (multiple versions of jackd etc.).</blockquote><div><br></div><div>It is reasonable for LADSPA hosts to show duplicate versions of a plugin, for LV2 I guess the user would have to choose which implementation to use instead (this is because of URIs), unless there are better ways to handle this... Dave?</div>
<div><br></div><div>Stefano</div></div>