I notice that the beginning of a `.kdenlive` project file looks like this: <?xml version='1.0' encoding='utf-8'?> <mlt title="Anonymous Submission" LC_NUMERIC="en_US.UTF-8" producer="main bin" version="6.6.0" root="/home/chris/typeclasses/recordings/contra-1"> We had intended to keep our projects (minus the videos themselves) in a version control system, but this absolute path seems like it will be a problem. Why is this absolute path there? Will it cause issues when we try to open projects on another machine?
This is a good point. Most Video editor work like this. Can you change to “wishlist”?
(In reply to Chris Martin from comment #0) > I notice that the beginning of a `.kdenlive` project file looks like this: > > <?xml version='1.0' encoding='utf-8'?> > <mlt title="Anonymous Submission" LC_NUMERIC="en_US.UTF-8" > producer="main bin" version="6.6.0" > root="/home/chris/typeclasses/recordings/contra-1"> > > We had intended to keep our projects (minus the videos themselves) in a > version control system, but this absolute path seems like it will be a > problem. Why is this absolute path there? Will it cause issues when we try > to open projects on another machine? As a workaround I would suggest to delete > root="/home/chris/typeclasses/recordings/contra-1" from the file BEFORE committing into the version control. I've found that Kdenlive opens the file correctly and after some changes it adds again the root property. Although I would not guarantee if this solution is afe. Play with it and use it your own risk.
Created attachment 137404 [details] proposal We could add an option to have it both ways.
On project opening, if the path specified in the "root" property of the xml does not exist, Kdenlive assumes the "root" path to be the path to the .kdenlive project file. So if all resources (clips, audio, images) are in the same folder or subfolders of the project file, there should be no problem opening the project from a different machine. Can you please give me a detailed example of the issue you are facing ?
(In reply to Jean-Baptiste Mardelle from comment #4) > On project opening, if the path specified in the "root" property of the xml > does not exist, Kdenlive assumes the "root" path to be the path to the > .kdenlive project file. So if all resources (clips, audio, images) are in > the same folder or subfolders of the project file, there should be no > problem opening the project from a different machine. Can you please give me > a detailed example of the issue you are facing ? Yeah, so whenever it is relative Kdenlive would assume the "root" to be the .kdenlive project location. Whenever absolute it would expect the the full path of the saved project.
Yes that's how it is supposed to work currently. So my question is what issue are you facing with the current state ?
(In reply to Jean-Baptiste Mardelle from comment #6) > Yes that's how it is supposed to work currently. So my question is what > issue are you facing with the current state ? Let's say I save my project in an external hard drive in machine 1, whenever I open it in machine 2 Kdenlive doesn't find the files automatically.
okay but what is the path to the file not found? is it in a subfolder of the project file? Can you please write in the comment the original path of the project file and the original path of the not found video file?