We're trying to extend our RV integration and we have a situation where we want to retrieve information about what the user has loaded in RV currently (we're using the Python network support, but I don't think this question has anything to do with that, it's just a newbie Mu question). I haven't been able to figure out how, in Mu, to get information about any session other than the current session.
For instance, I can use command.sources() to get a list of the sources in the current session (this log is from running muConsole.py although again I think this is a basic Mu question).
sources();
RETURN: (string,int,int,int,float,bool,bool)[] {("//KRONOS/Software/ntbin/develop/Test/render/nukeTest/sample/Ep101_021_276_00_LHT_002/Ep101_021_276_00_LHT_002.1-176#.tif", 1, 176, 1, 0.0, false, true)}
That's cool, it's exactly the information I want, but there are actually 2 RV sessions open in that process. I can get their names:
sessionNames();
RETURN: string[] {"session0", "session1"}
But I can't see any way to retrieve information about any session other than the current one.
I looked through the reference manual, the Mu User's Manual, and the Mu Command API browser, but I couldn't find any references to a "setSession" or similar command. I tried looking for the "server" end code for network mode, but I couldn't tell if that was integrated into the core or lurking in some .mu file somewhere.
Sorry if this is all documented somewhere and I just missed it, but any pointers for how to crawl the dependency graphs in the various open sessions would be welcome!
Leo