Better library viewer with views of subclip zones and integration
Hello K eden is life developers, I will be working on and off on a better library viewer and integration. I want to extend the current library file/folder views with views of the subclip zones as defined in the .mlt library file, so that you can drag them directly onto the timeline just like it works from the project bin.
In the project bin you can see the parent clip and the subclips that have been created in the clip monitor and added to the project bin. They show up directly branched off under the parent clip. I want to reuse this functionality in the new library view, with a very similar look and feel. With this difference that the parent clip is now a .mlt file, and the subclips are the subclip zones defined inside it.
I am going to try to reuse the functionality of the bin widget with a possible refactoring of some parts of it into a super class leaving only the project bin specific code in the project bin so that I can reuse as much of it as possible.
Now, because the library view represents actually the file system with .mlt files and folders/sub directories, it is kind of confusing to introduce branched off subclips over there side by side with subdirectory folders... I have been confused
There are of course some subtle differences but this is the general idea. One subtlety being that although you can not drag a subclip from the timeline into the project bin, you can drag it into a library view where it will be added to the relevant .mlt file. In the same way adding subclips into sub folders in the project bin is very similar to adding them to the relevant .mlt files with this subtle difference that this .mlt file must define the relevant producer and the relevant media resource that matches the subclip so you need to keep track of all that.. so there are these subtle differences but this is the general idea.
I thought maybe it is a good idea to let you know that I am planning to work on this. On and off... So now you know.
Kind regards, Ondrej