Having looked at the patch, I have a few remarks.

1. The detection on what type of project file should be automatic. I
suggest something like this (in pseudo-code):

try
  [open project file as text]
  OpenProject()
except
  try
    [open project file as binary]
    OpenProject()
  except
    [launch error message: "Could not open project file"]
  end
end

This ensures backwards compatability. This cannot be done with a global
setting in preferences (as used in the patch), because one is never sure
which type it is, especially when the user has switched his preference.

2. The default format for new projects should be text.

3. IMO, there's no need in putting the format as a user preference,
because storing as a binary serves no real advantage, other then storage
size; size is normally not a problem, considering the size of the
resources (clips audio/video).

-- 
Project file should be a plain text file
https://bugs.launchpad.net/bugs/499733
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: New

Bug description:
The OpenShot project file should be a plain text file. It is now a binary, thus 
not human readable nor adjustable.

Advantages of using clear text:
- you can clearly see what and how things are organised
- things can be easily adjusted when something goes wrong
- you can do automated text operations with grep/sed/awk etc.

This is related (technically) to the problem where the path of the thumbnails 
of imported clips are registered in an absolute way. Moving the project file to 
another location or renaming the folder containing this project file, leads to 
not properly display of the thumbnails within the clips on the IDE. This could 
be adjusted, as a workaround, if the project file was in plain text.
https://bugs.launchpad.net/openshot/+bug/423948



_______________________________________________
Mailing list: https://launchpad.net/~openshot.developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openshot.developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to