Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reading and writing of project files #348

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

n-st
Copy link

@n-st n-st commented Feb 7, 2022

This PR addresses multiple problems with project files (see #272 and in particular #272 (comment)):

  • Make it possible (again?) to write VCP files (was broken by a string comparison that could never succeed)
  • Fix VCP format output when no chapter names are set
  • Fix EDL format input (doesn't contain chapter names, which broke the parser)
  • Support both EDL and VCP files when drag-and-dropped onto the program window
  • Refresh clip list after loading a project file (otherwise the newly loaded clips won't be visible)

One feature goes a bit beyond bugfixing, but should probably be useful:

  • Modify project file reader to support EDL and VCP at the same time (so the .edl/.vcp file extension doesn't matter anymore)
    This also allows reading the "broken" project files produced by VidCutter so far: They had a .vcp extension, but contained EDL data. The new parser regex handles this gracefully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant