Absolute paths for external files a big problem

UHE is now closed. For Technical Support from Ableton, please go here: http://www.ableton.com/support
Locked
Taiis
Posts: 169
Joined: Thu Jul 28, 2005 9:04 am
Location: Copenhagen,Denmark
Contact:

Absolute paths for external files a big problem

Post by Taiis » Sun Nov 13, 2005 6:19 pm

I'm a software developer and I'm deeply dissatisfied with the idea that Live saves its files with absolute file references eg. "z:\mymusic\project 4\track dingeling\sounds\mywave.wav" instead of "track dingeling\sounds\mywave.wav" (given that the project file was placed in the project 4 directory).

It is extremely bad practice to save file references this way. Always use relative paths instead of absolute ones. Always save file references as relative to the project file.

I hate to sound bitching - but please go read a book on good code practice.
+++ ---- +++ ----- +++ ----- +++ ----- +++
33 Koncerts, no demo, no album
http://www.thespoofkats.com

Robert Henke
Posts: 1193
Joined: Fri Jun 04, 2004 10:38 am
Location: Berlin

Post by Robert Henke » Mon Nov 14, 2005 11:10 am

Hi Talis,

we are aware of this issue and we plan changes in the project / file handling.
I cannot promise this for the next release, but it is obvious that there is
room for improvement here.

Robert Henke
Ableton

musick
Posts: 540
Joined: Tue Aug 10, 2004 4:30 pm
Location: This part of the Galaxy

Post by musick » Mon Nov 14, 2005 11:16 am

Robert Henke wrote:.... we are aware of this issue and we plan changes in the project / file handling ....
When making these changes it might be an idea to also add a 'unique id' based on a hash of e.g. the first 1k bytes to an audiofile reference so Live can distinguish between more files with the same name (like ProTools style relinking).

Friedemann
Posts: 425
Joined: Mon Jun 28, 2004 10:47 am
Location: Ableton Headquarter

Post by Friedemann » Fri Nov 18, 2005 4:51 pm

Hi All,

File references are saved absolute *and* relative. If the
absolute reference cannot be resolved, the relative one
is used.

For sets within Live's Library, relative means relative to
the Library's root.

For sets outside of the Library, relative means relative to
the referencing document.

However, we are aware of the limitations of these rules
as Robert said.

Kind regards, Friedemann
Friedemann Schautz
schautz@ableton.com

live(atpompeii)
Posts: 12
Joined: Fri Oct 14, 2005 9:26 pm

Post by live(atpompeii) » Fri Nov 18, 2005 8:35 pm

to me the way live saves files makes sense. I use two pcs with the same loop library on C:, all I do to work on the same sessions on the two is save all my .als and relative sounds on an external drive...
if ableton's going to change this please leave an option to save files "the old way"... thanks! :)

Locked