latenitefilms / Capacitor

MIT License
3 stars 0 forks source link

Add button to "Export Warnings" as Text File #2

Closed latenitefilms closed 6 months ago

latenitefilms commented 7 months ago

This stuff:

image
randomeizer commented 7 months ago

What warnings? There ones listed in the box?

latenitefilms commented 7 months ago

Yeah exactly, everything in the text box. Kinda the same as Adobe Media Encoder does when doing OP59 compliant audio, or exporting a FCP7 XML if there's issues.

randomeizer commented 7 months ago

This might actually be a bit tricky if using the SwiftUI fileExport API, unless we can output more than one file simultaneously.

It could be added as a sidecar file in the bundle version though, although nobody would ever see it...

latenitefilms commented 7 months ago

Worse case, it could just pop up another save dialog? Alternatively we MIGHT be able to assign a .txt file as a sidecar file for .fcpxml so that we can create a new .txt file next to it whilst in sandbox. You can refer to BRAW Toolbox to see how we read sidecar files.

latenitefilms commented 7 months ago

Actually, probably just quickest/easiest solution is to have a separate "Export Warnings" button - keep things simple. Uses the same path as the last FCPXML Export.

randomeizer commented 7 months ago

The other thing is that currently, it doesn't detect which actual data was dropped, just lists what could be lost.

latenitefilms commented 7 months ago

Hmmm, that's a good point. It probably doesn't matter for v1, but detecting what data was actually dropped would be handy.

latenitefilms commented 6 months ago

This has been actioned.