OpenTimelineIO / raven

Raven - OpenTimelineIO Viewer Application
Apache License 2.0
74 stars 15 forks source link

Crashes when reading OTIO file with SerializableCollection #23

Open jminor opened 9 months ago

jminor commented 9 months ago

If Raven is given an OTIO file with a top-level object that isn't a Timeline, it crashes. The most common case of this is an OTIO file with a SerializableCollection containing multiple timelines.

At the very least, it should give the user a helpful error message instead of crashing.

Even better it could present each different type of OTIO object in a reasonable manner. For SerializableCollection, maybe tabs for each item. For other types like MediaReference, Clip, etc. it could just show the JSON and Inspector without the timeline view.

jminor commented 6 months ago

Here's an example of a case where it would be useful to view a SerializableCollection: https://github.com/AcademySoftwareFoundation/OpenTimelineIO/issues/1687