← Back to team overview

linux-traipu team mailing list archive

[Bug 1033103] Re: Openshot throws a fit when you move the project files.

 

This patch:

1) checks the real project file_path against the pickled project.project_folder
2) if it has changed, it modifies the project_folder attribute, and goes throught all the video and title looking to see if the files have been moved along with the main project file.
3) updates file.name and file.thumb_location accordingly

As a side note, it outputs a nice traceback (to the console) if openshot
fails to open an .osp file.

** Patch added: "project_relocation.patch"
   https://bugs.launchpad.net/openshot/+bug/1033103/+attachment/3248346/+files/project_relocation.patch

** Changed in: openshot
     Assignee: (unassigned) => Jabapyth (jabapyth+launchpad)

-- 
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/1033103

Title:
  Openshot throws a fit when you move the project files.

Status in OpenShot Video Editor:
  New

Bug description:
  Consider the following situation: Your file structure (lets say
  relative to the home directory)

          videos/myvideo/main.osp
          videos/myvideo/raw/a.mp4
          videos/myvideo/raw/b.mp4
          videos/myvideo/raw/c.mp4

  And you rename the folder "myvideo" to "myvideo2". Suddenly, openshot
  can't find the files anymore (or the thumbnails).

  My machine:
  1) Ubuntu 12.04
  2) openshot: HEAD
  3) libmlt: 0.7.7 (though that isn't important)

  Thanks!

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


References