I'm trying to translate metadata I have on video and audio files into an FCP XML file, that would be readable by most NLEs (though my main target is Premiere Pro). The PP SDK is terribly documented and confusing as hell, and I don't really need to create a panel, but rather to run a python script that would create an XML file that details the necessary bins, the relevant files in each (video and audio) and create some sequences from those files with specific start time (I know the sync point of the seperate audio and video). It's simply XML but I can't find a decent specification of how that XML should look like.
I know this might be kind of a big question for SO, but I really don't know where to start. There's a lot of things about this subject as far as extracting and reading FCP XML files with scripts, but building one is a different animal altogether. The official FCP XML docs don't mention anything about bins and general project hierarchy.
I tried creating my required result in Premiere Pro and then exporting an FCP XML, hoping to reverse engineer it, but it's filled to the brim with confusing information. You can see the whole thing here: https://codebeautify.org/xmlviewer/cb9a1a1f
I can't tell what's needed here, what I can get rid off, and how to rebuild this with a simple python script in a way that Premiere would understand.
What am I to do? I just need a hint of the right direction. I've been banging my head at the wall for so long now. I need some help. Please.