Re: [LAD] samples/symlinks/sessions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Robillard <d@...>
Cc: LAD <linux-audio-dev@...>
Date: Monday, July 16, 2012 - 8:10 am

--20cf30363911cd315e04c4edf653
Content-Type: text/plain; charset=UTF-8

On Sun, Jul 15, 2012 at 7:55 PM, David Robillard wrote:

> On Fri, 2012-07-13 at 15:57 +0100, James Morris wrote:

This is exactly what I do in Non-DAW as well. Use the original name and add
an ordinal number until it's unique.

--20cf30363911cd315e04c4edf653
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sun, Jul 15, 2012 at 7:55 PM, David R=
obillard <d@drobilla.net> wrote:
On Fri, 2012-07-13 at 15:57 +0100, James Morris wrote:

br>
br>
ng

> discerning uniqueness between two samples is in the path (ie

order
d

> _) that is bound to fail.

3

> choice over the other options I've presented?

I just used the original name of the file, with a number added for
uniqueness if necessary (which is very seldom the case). =C2=A0It works and=

is much more human-friendly and straightforward than the above options.
A "make this path unique by sticking a number on the end of it" f=
unction
turns out to be pretty useful anyway.

Of course, you need to actually check for existence of files to create
it, which might be a problem in some cases (though not any I've
encountered), but anything that assumes a mapping based on the current
path is a unique identifier for a particular file's contents is bound t=
o
fail anyway.This is exactly what I do in Non-DAW as w=
ell. Use the original name and add an ordinal number until it's unique.=

--20cf30363911cd315e04c4edf653--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] samples/symlinks/sessions, James Morris, (Fri Jul 13, 2:59 pm)
Re: [LAD] samples/symlinks/sessions, David Robillard, (Mon Jul 16, 2:55 am)
Re: [LAD] samples/symlinks/sessions, James Morris, (Mon Jul 16, 8:47 am)
Re: [LAD] samples/symlinks/sessions, David Robillard, (Mon Jul 16, 6:00 pm)
Re: [LAD] samples/symlinks/sessions, James Morris, (Fri Jul 20, 2:31 pm)
Re: [LAD] samples/symlinks/sessions, J. Liles, (Sat Jul 21, 10:17 pm)
Re: [LAD] samples/symlinks/sessions, James Morris, (Sat Jul 21, 10:53 pm)
Re: [LAD] samples/symlinks/sessions, Paul Davis, (Sun Jul 22, 1:54 am)
Re: [LAD] samples/symlinks/sessions, J. Liles, (Sat Jul 21, 11:34 pm)
Re: [LAD] samples/symlinks/sessions, James Morris, (Sun Jul 22, 12:14 am)
Re: [LAD] samples/symlinks/sessions, J. Liles, (Mon Jul 16, 8:10 am)
Re: [LAD] samples/symlinks/sessions, James Morris, (Fri Jul 13, 3:13 pm)
Re: [LAD] samples/symlinks/sessions, renato, (Fri Jul 13, 4:29 pm)
Re: [LAD] samples/symlinks/sessions, James Morris, (Fri Jul 13, 5:24 pm)