Skip to content

Fix reading and writing of project files#348

Open
n-st wants to merge 8 commits into
ozmartian:masterfrom
n-st:fix-project-files
Open

Fix reading and writing of project files#348
n-st wants to merge 8 commits into
ozmartian:masterfrom
n-st:fix-project-files

Conversation

@n-st

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

Copy link
Copy Markdown

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