I need to run some processing right before I need to start the stream.
I tried with resolve() but this get's called when the parent folder get's generated, at that time I don't know what to do, everything depends in what folder the user will go into. Once the user goes into I folder I know what he wants to do and I can do what I want.
Basically I would like to build a tree like:
I need to do some operations when I go into 'StreamX Folder'.
Does anybody know how to achieve that? Or how to add a 'streamX[Mencoder]' into a folder. By using addChild it always ads a folder.