← Back to team overview

linux-traipu team mailing list archive

[Bug 538558] Re: absolute paths in .osp

 

I fully agree with the fact that doing magic without telling the user could be worse than doing something simple but well understood.
I would personnaly prefere your option B. It is actually what I first tryed as a fix. I found it to be not enough in my 'personal use case': 
I save ma camcorder files in ~/Video/MyCam/[Year-Month]/
I create a project file in Openshot and save it in the default place (~/)
My project goes from 'little test' to 'big project' 
I realise that generated files are filling my ~/ folder and thus,
I decide to move the project and ~/ related files in ~/Documents/OpenShot/July_Vacation/
My source video stayes in  ~/Video/MyCam/[Year-Month]/
However: ~/Video/MyCam/[Year-Month]/ is a subfolder of ~/
This was resulting in breaking most filepaths...

That is the story of how I came with the above 'magic'. It is just what I was expecting to do by moving the project:
1/ If file exist in the new location, it means I did something to have it there while moving the project -> use the relative path
2/ If file does not exist in the new location, but is still in the old one, this is an obsolute path -> keep the old one
3/ If file disapeared but was in a subfolder of the original project, assume that is is a manipulation error in the process of moving relative path files while moving the project. -> use the relative path

My understanding of your 2 cent input is that case 3 shall be checked
against the user before applying. Would this it be enough to you?

An other point would be to add a 'collect files/fix path' and copy
everyting in a normelized subfolder tree.

Tell me if you see something else,

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/538558

Title:
  absolute paths in .osp

Status in OpenShot Video Editor:
  Triaged

Bug description:
  Hi,

  I have opened .osp file with text editor and seems like paths to media files in project are absolute.
  It will be great to use relative from .osp file paths to media files.

  It should be much easy to move(send) clip sources and  project file to
  another location

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/538558/+subscriptions